Fix: remove warning

This commit is contained in:
Laurent Destailleur 2013-04-27 12:24:48 +02:00
parent 08808c58cd
commit 3203283fe9

View File

@ -3395,7 +3395,7 @@ class Form
} }
// Show date with combo selects // Show date with combo selects
if (empty($conf->use_javascript_ajax) || $conf->global->MAIN_POPUP_CALENDAR == "none") if (empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_POPUP_CALENDAR) && $conf->global->MAIN_POPUP_CALENDAR == "none"))
{ {
// Day // Day
$retstring.='<select'.($disabled?' disabled="disabled"':'').' class="flat" name="'.$prefix.'day">'; $retstring.='<select'.($disabled?' disabled="disabled"':'').' class="flat" name="'.$prefix.'day">';