Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/DbSearch.class.php')
-rw-r--r--libraries/DbSearch.class.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/DbSearch.class.php b/libraries/DbSearch.class.php
index d0832787dd..ffafa66b56 100644
--- a/libraries/DbSearch.class.php
+++ b/libraries/DbSearch.class.php
@@ -214,18 +214,16 @@ class PMA_DbSearch
? array($this->_criteriaSearchString)
: explode(' ', $this->_criteriaSearchString));
- /** @var PMA_String $pmaString */
- $pmaString = $GLOBALS['PMA_String'];
foreach ($search_words as $search_word) {
// Eliminates empty values
- if ($pmaString->strlen($search_word) === 0) {
+ if (/*overload*/mb_strlen($search_word) === 0) {
continue;
}
$likeClausesPerColumn = array();
// for each column in the table
foreach ($allColumns as $column) {
if (! isset($this->_criteriaColumnName)
- || $pmaString->strlen($this->_criteriaColumnName) == 0
+ || /*overload*/mb_strlen($this->_criteriaColumnName) == 0
|| $column['Field'] == $this->_criteriaColumnName
) {
// Drizzle has no CONVERT and all text columns are UTF-8