Changeset 2130
- Timestamp:
- 02/22/2008 08:49:10 AM (11 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
releases/2.1.2/system/libraries/drivers/Database.php
r2106 r2130 267 267 public function has_operator($str) 268 268 { 269 return (bool) preg_match('/[<>!=]|\sIS( \s+?:NOT\s+)?\b/i', trim($str));269 return (bool) preg_match('/[<>!=]|\sIS(?:\s+NOT\s+)?\b/i', trim($str)); 270 270 } 271 271
