mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
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:
parent
ce726f9fe2
commit
5862244471
1 changed files with 8 additions and 2 deletions
|
|
@ -88,15 +88,21 @@
|
||||||
if(is_array($value))
|
if(is_array($value))
|
||||||
{
|
{
|
||||||
foreach($value AS $key=>$val)
|
foreach($value AS $key=>$val)
|
||||||
|
{
|
||||||
|
if(isset($val))
|
||||||
{
|
{
|
||||||
$value[$key] = (int)$val;
|
$value[$key] = (int)$val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if(isset($val))
|
||||||
{
|
{
|
||||||
$value = (int)$value;
|
$value = (int)$value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue