change case

This commit is contained in:
John 2018-05-17 09:01:49 +02:00
parent fddd3156b1
commit 8175d90816

View File

@ -2191,7 +2191,7 @@ if (empty($reshook))
// Outing situation invoice from cycle
elseif ($action == 'confirm_situationout' && $confirm == 'yes' && $user->rights->facture->creer)
{
$object->fetch($id,'', '','', TRUE);
$object->fetch($id,'', '','', true);
if ($object->statut == Facture::STATUS_VALIDATED
&& $object->type == Facture::TYPE_SITUATION