issue 1637, 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/branches/1.5.0@10411 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-03-12 02:51:44 +00:00
parent ce726f9fe2
commit 5862244471

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;
}
}
}