commit
767afd3c9f
2 changed files with 2 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ if (($action=="create") || ($action=="edit"))
|
|||
print $langs->trans('CronEvery')."</td>";
|
||||
print "<td><select name=\"nbfrequency\">";
|
||||
for($i=1; $i<=60; $i++){
|
||||
if(($object->frequency/$object->unitfrequency) == $i){
|
||||
if(!is_null($object->unitfrequency) && ($object->frequency/$object->unitfrequency) == $i){
|
||||
print "<option value='".$i."' selected='selected'>".$i."</option>";
|
||||
}
|
||||
else{
|
||||
|
|
|
|||
|
|
@ -258,6 +258,7 @@ days=days
|
|||
Hours=Hours
|
||||
Minutes=Minutes
|
||||
Seconds=Seconds
|
||||
Weeks=Weeks
|
||||
Today=Today
|
||||
Yesterday=Yesterday
|
||||
Tomorrow=Tomorrow
|
||||
|
|
|
|||
Loading…
Reference in a new issue