From 3f39bda58984f336f3128e86189a24ae2c0c711c Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 10 May 2016 14:04:21 +1000 Subject: [PATCH] php - correct one return value for dspname --- pool/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/base.php b/pool/base.php index 64f7ee5c..ee07306e 100644 --- a/pool/base.php +++ b/pool/base.php @@ -239,7 +239,7 @@ function dspname($name) return array(false, htmlspecialchars($name)); if (strpbrk($name, '._') === false) - return array(false, htmlspecialchars(substr($name, 0, 20)).'…'); + return array(true, htmlspecialchars(substr($name, 0, 20)).'…'); $left = htmlspecialchars(substr($name, 0, 17)); $right = htmlspecialchars(substr($name, -3));