mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Issue 490: Patch for /branches/1.5.0/classes/db/queryparts/condition/ConditionWithoutArgument.class.php
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9644 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8741e7cb6
commit
873d3e704a
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
class ConditionWithoutArgument extends Condition {
|
||||
function ConditionWithoutArgument($column_name, $argument, $operation, $pipe = ""){
|
||||
parent::Condition($column_name, $argument, $operation, $pipe);
|
||||
if(in_array($operation, array('in', 'not in')))
|
||||
if(in_array($operation, array('in', 'notin')))
|
||||
$this->_value = '('. $argument .')';
|
||||
else
|
||||
$this->_value = $argument;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue