Skip to content

Commit

Permalink
Fix Undefined index: instance, method
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Montes committed Oct 16, 2020
1 parent 3fcfb29 commit 7514f31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Console/Command/Showjobs.php
Expand Up @@ -61,9 +61,9 @@ protected function execute(InputInterface $input, OutputInterface $output)

foreach ($jobs as $group => $crons) {
foreach ($crons as $code => $job) {
$instance = $job['instance'];
$method = $job['method'];
$schedule = (isset($job['schedule']) ? $job['schedule'] : "");
$instance = (isset($job['instance']) ? $job['instance'] : "");
$method = (isset($job['method']) ? $job['method'] : "");
$schedule = (isset($job['schedule']) ? $job['schedule'] : "");
$jobData = [
$code,
$group,
Expand Down

0 comments on commit 7514f31

Please sign in to comment.