From 09f1c22e9fc2a93027f4e5ac23ab6d9534c700ae Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 16 Mar 2011 14:47:46 +0100 Subject: [PATCH] function aleaChar() : fixed php warning --- public_html/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {