1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-25 17:41:25 +02:00

[ticket/12671] Possibility to use NOT LIKE expression

PHPBB3-12671
This commit is contained in:
Geolim4
2014-08-08 18:32:17 +02:00
parent 6b60153ab4
commit 01943adbf7
3 changed files with 43 additions and 14 deletions

View File

@@ -377,7 +377,7 @@ abstract class driver implements driver_interface
$expression = utf8_str_replace(array('_', '%'), array("\_", "\%"), $expression);
$expression = utf8_str_replace(array(chr(0) . "\_", chr(0) . "\%"), array('_', '%'), $expression);
return $this->_sql_like_expression('NOT LIKE \'' . $this->sql_escape($expression) . '\'');
return $this->_sql_not_like_expression('NOT LIKE \'' . $this->sql_escape($expression) . '\'');
}
/**