$out does not seem to be defined for all execution paths

This commit is contained in:
Frédéric FRANCE 2019-11-26 00:24:00 +01:00 committed by GitHub
parent 1f8361ea9e
commit a142c0050e
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');