diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php index bb6d94e9788..4efe7d18074 100644 --- a/htdocs/cashdesk/class/Facturation.class.php +++ b/htdocs/cashdesk/class/Facturation.class.php @@ -144,7 +144,7 @@ class Facturation $newcartarray=$_SESSION['poscart']; $i = 0; - if (!is_null($newcartarray) && !is_empty($newcartarray)) { + if (!is_null($newcartarray) && !empty($newcartarray)) { $i=count($newcartarray); }