issue 1627 if value is array, type cast modify

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10377 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-03-08 01:10:45 +00:00
parent 529c0e8d44
commit 98ea5e352a

View file

@ -84,7 +84,19 @@
}
}
if($column_type == 'number')
$value = (int)$value;
{
if(is_array($value))
{
foreach($value AS $key=>$val)
{
$value[$key] = (int)$val;
}
}
else
{
$value = (int)$value;
}
}
return $value;
}
@ -188,4 +200,4 @@
}
?>
?>