FIX : global $dateSelector isn't the good one, then date selector on objectline_create tpl was hidden

This commit is contained in:
gauthier 2017-04-11 12:41:19 +02:00
parent 17da4f64a7
commit 8a373b25ba

View File

@ -37,7 +37,7 @@ if (! empty($conf->margin->enabled) && ! empty($object->element) && in_array($ob
$usemargins=1;
}
global $dateSelector, $forceall, $senderissupplier, $inputalsopricewithtax;
global $forceall, $senderissupplier, $inputalsopricewithtax;
if (empty($dateSelector)) $dateSelector=0;
if (empty($forceall)) $forceall=0;
if (empty($senderissupplier)) $senderissupplier=0;