From c2127a67021bc0fee12acc44209de6e1b0c62d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DALL=27AGNOLA=20C=C3=A9dric?= Date: Fri, 5 Apr 2019 15:49:00 +0200 Subject: [PATCH] is_empty to empty --- htdocs/cashdesk/class/Facturation.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }