From 4d48316e8ae6f4b55edcdb5a781ecc3c126628d3 Mon Sep 17 00:00:00 2001
From: SofianeLasri <alasri250@gmail.com>
Date: Fri, 14 Jan 2022 20:15:20 +0100
Subject: [PATCH] bugfix

---
 pages/client/shops.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/client/shops.php b/pages/client/shops.php
index adf43ecc..fcd71f64 100644
--- a/pages/client/shops.php
+++ b/pages/client/shops.php
@@ -60,7 +60,7 @@
                     $shops = Shop::getShops();
                     foreach($shops as $shop){
                         $representation = $shop['item']->getRepresentation();
-                        if($representation["type"] == "item"){
+                        if($representation["type"] == "block"){
                             echo ('<div class="col-sm">
                                     <div class="card" style="width: 18rem;">
                                         <div class="card-body">
-- 
GitLab