is_empty to empty
This commit is contained in:
parent
cf3364d205
commit
c2127a6702
@ -144,7 +144,7 @@ class Facturation
|
|||||||
$newcartarray=$_SESSION['poscart'];
|
$newcartarray=$_SESSION['poscart'];
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
if (!is_null($newcartarray) && !is_empty($newcartarray)) {
|
if (!is_null($newcartarray) && !empty($newcartarray)) {
|
||||||
$i=count($newcartarray);
|
$i=count($newcartarray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user