diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ use Psr\Log\LoggerInterface; try { require_once __DIR__ . '/lib/base.php'; - if ($argv[1] === '-h' || $argv[1] === '--help') { + if (isset($argv[1]) && ($argv[1] === '-h' || $argv[1] === '--help')) { echo 'Description: Run the background job routine |