merge r10411 to trunk

(fixed a bug, a query result is incorrect when a value variable of condition is null)

git-svn-id: http://xe-core.googlecode.com/svn/trunk@10412 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-03-12 03:00:19 +00:00
parent ef0c76592e
commit 3166b70c7d

View file

@ -89,12 +89,18 @@
{
foreach($value AS $key=>$val)
{
$value[$key] = (int)$val;
if(isset($val))
{
$value[$key] = (int)$val;
}
}
}
else
{
$value = (int)$value;
if(isset($val))
{
$value = (int)$value;
}
}
}