From 2c5f226559eccc9791bd49a2a75de46c218bab9f Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 15:03:00 +0100 Subject: [PATCH] bad synthax --- 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 7bdfedf4..b8c270e3 100644 --- a/pages/client/shops.php +++ b/pages/client/shops.php @@ -101,7 +101,7 @@ <span><strong>Prix:</strong> '.$shop['price'].'€</span> </div> </div> - <div class="mc-button normal" onclick="goToShop('.$shop['x'].','.$shop['y'].','.$shop['z'].','.$shop['world'].')"> + <div class="mc-button normal" onclick="goToShop('.$shop['x'].','.$shop['y'].','.$shop['z'].',\''.$shop['world'].'\')"> <div class="title">Rejoindre</div> </div> </div> -- GitLab