Browse Source

php - correct one return value for dspname

master
kanoi 9 years ago
parent
commit
3f39bda589
  1. 2
      pool/base.php

2
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));

Loading…
Cancel
Save