diff --git a/ChangeLog b/ChangeLog index d25d0c8f1..9aa301285 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,8 +7,9 @@ $Source$ 2002-04-13 Loïc Chapeaux * lang/korean.inc.php3: fixed some inconcistencies. - * main.php3, lines 200-201: fixed a bug with privileges with escaped - wilcards in database names. Thanks to + * main.php3, lines 200-201; user_details.php3, line 82: fixed a bug with + privileges when applied to database name containing an escaped wilcard + character (then used a litteral charcter). Thanks to Mike Eheler . 2002-04-12 Loïc Chapeaux diff --git a/user_details.php3 b/user_details.php3 index f673eca04..fa46aa38b 100644 --- a/user_details.php3 +++ b/user_details.php3 @@ -79,7 +79,7 @@ function PMA_tableGrants(&$host_db_result, $dbcheck = FALSE) { if ($grants_cnt) { $i = 0; while ($usr_row = mysql_fetch_row($result)) { - if (eregi('GRANT (.*) ON ([^\.]+).([^\.]+) TO .*$', $usr_row[0], $parts)) { + if (eregi('GRANT (.*) ON ([^.]+).([^.]+) TO .*$', $usr_row[0], $parts)) { // loic1: bug #487673 - revoke 'reference' if ($parts[1] == 'USAGE') { $priv = '';