diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2014-10-30 20:37:49 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2014-10-30 20:37:49 +0300 |
commit | 80ced5fe8f8cdcde7ff630ff073f2a339dcc0875 (patch) | |
tree | 99d2972ee2a3a9810d9dabf9c458667856b5078d /sql.php | |
parent | e17de11c7438aef5e9f0773fcebda186e5648846 (diff) |
Fix PHPCS issues.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -113,7 +113,9 @@ if (isset($_REQUEST['set_col_prefs']) && $_REQUEST['set_col_prefs'] == true) { // Default to browse if no query set and we have table // (needed for browsing from DefaultTabTable) -if (empty($sql_query) && /*overload*/mb_strlen($table) && /*overload*/mb_strlen($db)) { +$tableLength = /*overload*/mb_strlen($table); +$dbLength = /*overload*/mb_strlen($db); +if (empty($sql_query) && $tableLength && $dbLength) { $sql_query = PMA_getDefaultSqlQueryForBrowse($db, $table); // set $goto to what will be displayed if query returns 0 rows |