mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
18fdbd809f
commit
dcbdad4dd0
11 changed files with 54 additions and 4 deletions
|
|
@ -276,7 +276,10 @@
|
|||
* type == number가 아니면 addQuotes()를 하고 ' ' 로 묶음
|
||||
**/
|
||||
function getConditionValue($name, $value, $operation, $type) {
|
||||
if($type == 'number') return (int)$value;
|
||||
if($type == 'number') {
|
||||
if(strpos($value,',')===false && strpos($value,'(')===false) return (int)$value;
|
||||
return $value;
|
||||
}
|
||||
|
||||
switch($operation) {
|
||||
case 'like_prefix' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue