diff --git a/htdocs/core/class/html.formcron.class.php b/htdocs/core/class/html.formcron.class.php
index 0277630ae78..2a2a6c97078 100644
--- a/htdocs/core/class/html.formcron.class.php
+++ b/htdocs/core/class/html.formcron.class.php
@@ -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');