diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php index 66a5beb09b5..dec5583393b 100644 --- a/htdocs/cron/card.php +++ b/htdocs/cron/card.php @@ -438,7 +438,7 @@ if (($action == "create") || ($action == "edit")) { print ''; print $langs->trans('CronEvery').""; print ""; - print ''; for ($i = 1; $i <= 60; $i++) { if ($object->frequency == $i) { print ""; @@ -447,7 +447,8 @@ if (($action == "create") || ($action == "edit")) { } } print ""; - $input = " unitfrequency == "60") { $input .= ' checked />'; } else { @@ -456,7 +457,7 @@ if (($action == "create") || ($action == "edit")) { $input .= ""; print $input; - $input = " unitfrequency == "3600") { $input .= ' checked />'; } else { @@ -465,7 +466,7 @@ if (($action == "create") || ($action == "edit")) { $input .= ""; print $input; - $input = " unitfrequency == "86400") { $input .= ' checked />'; } else { @@ -474,7 +475,7 @@ if (($action == "create") || ($action == "edit")) { $input .= ""; print $input; - $input = " unitfrequency == "604800") { $input .= ' checked />'; } else { @@ -483,7 +484,7 @@ if (($action == "create") || ($action == "edit")) { $input .= ""; print $input; - $input = " unitfrequency == "2678400") { $input .= ' checked />'; } else {