bugfix: suppressing numeric attributes

This commit is contained in:
Ralf Becker 2006-01-06 04:50:56 +00:00
parent 68f2b987ce
commit 1f3f5651ee

View File

@ -127,7 +127,7 @@
*/
function set_attributes(&$widget,$attr,$val)
{
if ($attr != '')
if ($attr != '' && !is_numeric($attr))
{
$attrs = explode(',',$attr);