From ff18a0f5bfbf09d017b92a80592ae7373e97463f Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Thu, 24 Mar 2022 15:07:55 +0100 Subject: [PATCH] fix empty --- app/Repositories/Shop/Articles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Shop/Articles.php b/app/Repositories/Shop/Articles.php index a22574dd..1eac5490 100644 --- a/app/Repositories/Shop/Articles.php +++ b/app/Repositories/Shop/Articles.php @@ -139,7 +139,7 @@ class Articles ]), ]; } - return $data ?? false; + return $data ?? []; } public static function getArticlesToSell($options)