diff options
Diffstat (limited to 'server_privileges.php')
-rw-r--r-- | server_privileges.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server_privileges.php b/server_privileges.php index 7a4d67f830..dfad93ca16 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -973,7 +973,7 @@ if (!empty($update_privs)) { // FIXME: similar code appears twice in this script if ( ( isset($Grant_priv) && $Grant_priv == 'Y') - || ( ( ! isset($dbname) || ! strle($dbname) ) && PMA_MYSQL_INT_VERSION >= 40002 + || ( ( ! isset($dbname) || ! strlen($dbname) ) && PMA_MYSQL_INT_VERSION >= 40002 && ( isset($max_questions) || isset($max_connections) || isset($max_updates) || isset($max_user_connections)))) { |