diff --git a/pages/client/shops.php b/pages/client/shops.php index 69b4c70a096cffd1403075ecf876a81878c617fd..9a4797bdd1b9f801062356cea4b40526047bd414 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"){