Skip to content

Commit

Permalink
FIX Option to disable meteo was not set correctly in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 18, 2016
1 parent 4d2b5d7 commit 2386b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/admin/delais.php
Expand Up @@ -177,7 +177,7 @@

$var=!$var;
print '<tr '.$bc[$var].'>';
print '<td>'.$langs->trans("MAIN_DISABLE_METEO").'</td><td>' .$form->selectyesno('MAIN_DISABLE_METEO',(isset($conf->global->MAIN_DISABLE_METEO)?1:0),1) . '</td></tr>';
print '<td>'.$langs->trans("MAIN_DISABLE_METEO").'</td><td>' .$form->selectyesno('MAIN_DISABLE_METEO',(empty($conf->global->MAIN_DISABLE_METEO)?0:1),1) . '</td></tr>';

print '</table>';

Expand Down

0 comments on commit 2386b79

Please sign in to comment.