From 1f3f5651ee0ed1b122ecf172804a3ef655a67f86 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 6 Jan 2006 04:50:56 +0000 Subject: [PATCH] bugfix: suppressing numeric attributes --- etemplate/inc/class.xul_io.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php index 3225d44dd7..ec45c0df20 100644 --- a/etemplate/inc/class.xul_io.inc.php +++ b/etemplate/inc/class.xul_io.inc.php @@ -127,7 +127,7 @@ */ function set_attributes(&$widget,$attr,$val) { - if ($attr != '') + if ($attr != '' && !is_numeric($attr)) { $attrs = explode(',',$attr);