diff --git a/public_html/includes/functions.php b/public_html/includes/functions.php index 5dd7a0f8..95beacee 100644 --- a/public_html/includes/functions.php +++ b/public_html/includes/functions.php @@ -409,7 +409,7 @@ function LSdebugDefined() { $nchars.=$chs['chars']; } } - if(strlen($chars)>0) { + if(is_string($chars) && strlen($chars)>0) { $chars=$nchars; } else {