From 21f473137e500cf1d321576040e8e9ef4ca933ec Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 7 Dec 2006 19:00:16 +0000 Subject: [PATCH] killed a warning --- etemplate/inc/class.xmltool.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.xmltool.inc.php b/etemplate/inc/class.xmltool.inc.php index a1c93ea665..ce02517491 100644 --- a/etemplate/inc/class.xmltool.inc.php +++ b/etemplate/inc/class.xmltool.inc.php @@ -491,7 +491,7 @@ reset($this->attributes); while(list($key,$val) = each ($this->attributes)) { - $result .= ' '.$key.'="'.htmlspecialchars($val,ENT_COMPAT,'utf-8').'"'; + if (!is_array($val)) $result .= ' '.$key.'="'.htmlspecialchars($val,ENT_COMPAT,'utf-8').'"'; } }