From 630ed6894453c9c481db29d37655daaf7b5e3322 Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 15:58:41 +0100 Subject: [PATCH] 16 max --- 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 43751671..95b882dd 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()) > 16) ? substr($shop['item']->getDisplayName(),0,13).'...' : $shop['item']->getDisplayName(); }else{ $displayName = $shop['item']->getLabel(); } -- GitLab