Merge pull request #16305 from daraelmin/daraelmin-patch-1

FIX #16285 warning undefine array key in cron_run_job.php
This commit is contained in:
Laurent Destailleur 2021-02-16 19:46:19 +01:00 committed by GitHub
commit 3fbabb19a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ if ($result < 0) {
}
$user->getrights();
if (isset($argv[3]) || $argv[3]) {
if (isset($argv[3]) && $argv[3]) {
$id = $argv[3];
}