killed a warning

This commit is contained in:
Ralf Becker 2006-12-07 19:00:16 +00:00
parent 9a96320225
commit 21f473137e

View File

@ -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').'"';
}
}