From 58ae1aeb08d47a2fccf758798ab5879576a07569 Mon Sep 17 00:00:00 2001 From: daraelmin Date: Mon, 15 Feb 2021 20:38:59 +0100 Subject: [PATCH] FIX #16285 warning undefine array key in cron_run_job.php --- scripts/cron/cron_run_jobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cron/cron_run_jobs.php b/scripts/cron/cron_run_jobs.php index ecec277995d..43f7f7ef8b2 100755 --- a/scripts/cron/cron_run_jobs.php +++ b/scripts/cron/cron_run_jobs.php @@ -125,7 +125,7 @@ if ($result < 0) { } $user->getrights(); -if (isset($argv[3]) || $argv[3]) { +if (isset($argv[3]) && $argv[3]) { $id = $argv[3]; }