From d98f57bc5b5fccf67163818c54701059b3732749 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Fri, 15 Jan 2016 14:29:46 +0530 Subject: [PATCH] Fix a typo in condition check Signed-off-by: Deven Bansod --- libraries/check_user_privileges.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/check_user_privileges.lib.php b/libraries/check_user_privileges.lib.php index 8e519e4bff..f1c425ebd0 100644 --- a/libraries/check_user_privileges.lib.php +++ b/libraries/check_user_privileges.lib.php @@ -38,7 +38,7 @@ function PMA_checkRequiredPrivilegesForAdjust( $show_grants_str, "SELECT, INSERT, UPDATE, DELETE" ) !== false) ) { - if ($show_grants_dbname = '*' + if ($show_grants_dbname == '*' && $show_grants_tblname == '*' ) { $GLOBALS['col_priv'] = true;