mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
!$value 대신 !isset($value)로 바꾸어서 처리 각 디비별로 정상적으로 동작하는 지 확인 필요. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4455 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0cf19a5fcf
commit
2d67475648
8 changed files with 15 additions and 15 deletions
|
|
@ -373,37 +373,37 @@
|
|||
function getConditionPart($name, $value, $operation) {
|
||||
switch($operation) {
|
||||
case 'equal' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' = '.$value;
|
||||
break;
|
||||
case 'more' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' >= '.$value;
|
||||
break;
|
||||
case 'excess' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' > '.$value;
|
||||
break;
|
||||
case 'less' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' <= '.$value;
|
||||
break;
|
||||
case 'below' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' < '.$value;
|
||||
break;
|
||||
case 'like_tail' :
|
||||
case 'like_prefix' :
|
||||
case 'like' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' like '.$value;
|
||||
break;
|
||||
case 'in' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' in ('.$value.')';
|
||||
break;
|
||||
case 'notequal' :
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
return $name.' <> '.$value;
|
||||
break;
|
||||
case 'notnull' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue