diff --git a/ChangeLog b/ChangeLog index 3b4179bab..d2efbf75f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2005-11-10 Marc Delisle * libraries/session.inc.php, Documentation.html: bug #1352479, warn if PHP does not support session + * server_privileges.php: bug #1353435, selecting users to drop is broken 2005-11-10 Michal Čihař * scripts/create-release.sh: = is correct for comparsion in shell. diff --git a/server_privileges.php b/server_privileges.php index 091720e99..c0fc4fd5d 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1420,12 +1420,14 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { echo ' ' . "\n"; echo ' ' . "\n"; $odd_row = true; + $index_checkbox = -1; foreach ( $db_rights as $user ) { + $index_checkbox++; ksort( $user ); foreach ( $user as $host ) { echo ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" + . ' ' . "\n" + . ' ' . "\n" . ' ' . htmlspecialchars($host['Host']) . '' . "\n"; echo ' '; switch ($host['Password']) {