is_empty to empty

This commit is contained in:
DALL'AGNOLA Cédric 2019-04-05 15:49:00 +02:00 committed by GitHub
parent cf3364d205
commit c2127a6702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}