Skip to content

Commit f5550b2

Browse files
authored
Fix undefined variable in cancel_all exception handler (#1295)
1 parent f64694f commit f5550b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/WP_CLI/Action/Cancel_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function cancel_all( $hook, $callback_args, $group ) {
7979
try {
8080
$result = as_unschedule_all_actions( $hook, $callback_args, $group );
8181
} catch ( \Exception $e ) {
82-
$this->print_error( $e, $multiple );
82+
$this->print_error( $e, true );
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)