diff options
Diffstat (limited to 'libraries/RecentFavoriteTable.class.php')
-rw-r--r-- | libraries/RecentFavoriteTable.class.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/RecentFavoriteTable.class.php b/libraries/RecentFavoriteTable.class.php index 3050120ec6..35dfa60d29 100644 --- a/libraries/RecentFavoriteTable.class.php +++ b/libraries/RecentFavoriteTable.class.php @@ -63,12 +63,9 @@ class PMA_RecentFavoriteTable */ private function __construct($type) { - /** @var PMA_String $pmaString */ - $pmaString = $GLOBALS['PMA_String']; - $this->_tableType = $type; - if ($pmaString->strlen($GLOBALS['cfg']['Server']['pmadb']) - && $pmaString->strlen($GLOBALS['cfg']['Server'][$this->_tableType]) + if (/*overload*/mb_strlen($GLOBALS['cfg']['Server']['pmadb']) + && /*overload*/mb_strlen($GLOBALS['cfg']['Server'][$this->_tableType]) ) { $this->_pmaTable = PMA_Util::backquote($GLOBALS['cfg']['Server']['pmadb']) . "." |