Merge pull request #12517 from frederic34/patch-16

$out does not seem to be defined for all execution paths
This commit is contained in:
Laurent Destailleur 2019-11-26 09:14:55 +01:00 committed by GitHub
commit 0032b27a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ class FormCron extends Form
global $langs;
$langs->load('cron@cron');
$out = '';
if (!empty($readonly)) {
if ($selected=='command') {
$out= $langs->trans('CronType_command');