From 2f35081c72a99c8989521f1e227cb93e86d321ab Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 16:27:38 +0100 Subject: [PATCH] null --- 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 69b4c70a..9a4797bd 100644 --- a/pages/client/shops.php +++ b/pages/client/shops.php @@ -222,7 +222,7 @@ // On va définir la taille de la div derrière la navbar function goToShop(id){ var shopItemDetail='<p>Type: <strong>'+$('#'+id).attr('type')+'</strong></p>'; - if($("#"+id).attr("displayName") != "null"){ + if($("#"+id).attr("displayName") != ""){ shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURIComponent($("#"+id).attr("displayName"))+'</strong></p>'; } if($("#"+id).attr("enchants") != "null"){ -- GitLab