git-svn-id: http://xe-core.googlecode.com/svn/trunk@1123 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-13 03:28:58 +00:00
parent 18fdbd809f
commit dcbdad4dd0
11 changed files with 54 additions and 4 deletions

View file

@ -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' :