From a8fdba870f099eb3b75e3f5ab2929a3af42f18ff Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Fri, 14 Jan 2022 19:02:28 +0100 Subject: [PATCH] bad variable name --- 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 6dfc2c5c..bcbe9200 100644 --- a/pages/client/shops.php +++ b/pages/client/shops.php @@ -58,7 +58,7 @@ <div class="row"> <?php $shops = Shop::getShops(); - foreach($shop as $shop){ + foreach($shops as $shop){ $texture = $shop['item']->getTexture(); echo ('<div class="col-sm"> <div class="card" style="width: 18rem;"> -- GitLab