database-driver-between.diff

Blake Lucchesi -, 03/24/2009 06:27 am

Download (465 Bytes)

 
system/libraries/drivers/Database.php (working copy)
290 290
	 */
291 291
	public function has_operator($str)
292 292
	{
293
		return (bool) preg_match('/[<>!=]|\sIS(?:\s+NOT\s+)?\b/i', trim($str));
293
		return (bool) preg_match('/[<>!=]|\sIS(?:\s+NOT\s+)?\b|BETWEEN/i', trim($str));
294 294
	}
295 295

  
296 296
	/**