Changeset 467
- Timestamp:
- 09/01/2007 05:49:40 PM (15 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Database.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Database.php
r447 r467 826 826 * @access private 827 827 * @param string 828 * @return bool 828 * @return boolean 829 829 */ 830 830 public function _has_operator($str) 831 831 { 832 return (bool) preg_match('/ (\s|<|>|!|=|is |is not)/i', trim($str));832 return (bool) preg_match('/[\s=<>!]|is /i', trim($str)); 833 833 } 834 834
