mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fixed "IN" query issue when arguments are strings.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8798 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
51a1d0a37e
commit
e46231ae96
2 changed files with 68 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
function ConditionArgument($name, $value, $operation){
|
||||
if(isset($value) && in_array($operation, array('in', 'notin', 'between')) && !is_array($value)){
|
||||
$value = str_replace(' ', '', $value);
|
||||
$value = str_replace('\'', '', $value);
|
||||
$value = explode(',', $value);
|
||||
}
|
||||
parent::Argument($name, $value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue