function aleaChar() : fixed php warning

This commit is contained in:
Benjamin Renard 2011-03-16 14:47:46 +01:00
parent dfc8f368ba
commit 09f1c22e9f

View file

@ -409,7 +409,7 @@ function LSdebugDefined() {
$nchars.=$chs['chars']; $nchars.=$chs['chars'];
} }
} }
if(strlen($chars)>0) { if(is_string($chars) && strlen($chars)>0) {
$chars=$nchars; $chars=$nchars;
} }
else { else {