From 7484e9d981d53829e268c0b2d5b3d6098f3b5374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 6 Dec 2001 21:50:55 +0000 Subject: [PATCH] fixed a double declaration of variables --- ChangeLog | 2 ++ user_details.php3 | 17 +++++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55c8ba9a5..7c493d7b2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ $Source$ File name too long in tbl_replace.php. * tbl_printview.php3; tbl_properties.php3; tbl_properties.inc.php3: fixed bug #489440 - enum fields in tbl_properties.php. + * user_details.php3, lines 616, 617 & 624: fixed a double declaration of + variables. 2001-12-05 Loïc Chapeaux * lang/japanese.inc.php3; lang/bulgarian-*.inc.php3: completed thanks to diff --git a/user_details.php3 b/user_details.php3 index 58a638a82..3860ada20 100644 --- a/user_details.php3 +++ b/user_details.php3 @@ -605,23 +605,20 @@ function PMA_grantOperations($grants) /** * Displays the page to edit operations * - * @param string the host name - * @param string the user name + * @param string the host name to check grants for + * @param string the user name to check grants for * * @return boolean always true * * @global string the current language * @global integer the server to use (refers to the number in the * configuration file) - * @global string the host name to check grants for - * @global string the username to check grants for * * @see PMA_tablePrivileges() */ function PMA_editOperations($host, $user) { global $lang, $server; - global $host, $pma_user; $result = mysql_query('SELECT * FROM mysql.user WHERE User = \'' . PMA_sqlAddslashes($user) . '\' AND Host = \'' . PMA_sqlAddslashes($host) . '\''); $rows = @mysql_num_rows($result); @@ -662,16 +659,16 @@ function PMA_editOperations($host, $user) - /> + />   - /> + />  :  - " onchange="this.form.anyuser[1].checked = true" /> + " onchange="this.form.anyuser[1].checked = true" /> @@ -705,7 +702,7 @@ function PMA_editOperations($host, $user) " /> - " /> + " /> @@ -720,7 +717,7 @@ function PMA_editOperations($host, $user) " /> - " /> + " />