From 07755e1c7696891aad73b7d66ee17306474535dc Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 15:57:42 +0100 Subject: [PATCH] bad syntax --- 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 05ca5926..43751671 100644 --- a/pages/client/shops.php +++ b/pages/client/shops.php @@ -90,7 +90,7 @@ // Si l'item possède un nom custom, on va l'afficher if($shop['item']->getDisplayName() != null){ $displayName = '<i class="icon-minecraft icon-minecraft-name-tag"></i> '; - $displayName .= (strlen($shop['item']->getDisplayName()) > 22) ? substr($shop['item']->getDisplayName(),0,19).'...' : $shop['item']->getDisplayName() + $displayName .= (strlen($shop['item']->getDisplayName()) > 22) ? substr($shop['item']->getDisplayName(),0,19).'...' : $shop['item']->getDisplayName(); }else{ $displayName = $shop['item']->getLabel(); } -- GitLab