Changeset 21278


Ignore:
Timestamp:
2011/10/12 13:21:29 (9 years ago)
Author:
kotani
Message:

#1502 不具合修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_Query.php

    r21273 r21278  
    466466            } else if(strcasecmp('CURRENT_TIMESTAMP', $val) === 0) { 
    467467                $strval .= 'CURRENT_TIMESTAMP,'; 
    468             } else if(strpos($val, '~') === 0) { 
    469                 $strval .= preg_replace("/^~/", "", $val); 
    470468            } else { 
    471469                $strval .= '?,'; 
     
    508506            } else if(strcasecmp('CURRENT_TIMESTAMP', $val) === 0) { 
    509507                $arrCol[] = $key . '= CURRENT_TIMESTAMP'; 
    510             } else if(strpos('~', $val) === 0) { 
    511                 $arrCol[] = $key . '= ' . $val; 
    512508            } else { 
    513509                $arrCol[] = $key . '= ?'; 
Note: See TracChangeset for help on using the changeset viewer.