From 573e4dc6cb3b0ce837ada94bb9b977ceb7150870 Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Thu, 24 Mar 2022 15:06:51 +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 b3293abf..a22574dd 100644 --- a/app/Repositories/Shop/Articles.php +++ b/app/Repositories/Shop/Articles.php @@ -139,7 +139,7 @@ class Articles ]), ]; } - return $data; + return $data ?? false; } public static function getArticlesToSell($options)