mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
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:
parent
ef0c76592e
commit
3166b70c7d
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