From 6ed1d9b47d5038c4ccf60ee9cac4011b7ea42d13 Mon Sep 17 00:00:00 2001 From: kkalev Date: Sat, 31 Jul 2004 06:57:11 +0000 Subject: [PATCH] Wrong foreach in show_groups and group_new. --- Changelog | 1 + htdocs/group_new.php3 | 2 +- htdocs/show_groups.php3 | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index cb53f15..acc2762 100644 --- a/Changelog +++ b/Changelog @@ -15,6 +15,7 @@ Ver 1.75: * Enlarge the width for the left frame * Make show_groups and the drop down menu in group_new work * Use lower cased row names in badusers page +* Wrong foreach in show_groups and group_new. Ver 1.72: * Move the xlat function to a separate file in lib/xlat.php3 * Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works) diff --git a/htdocs/group_new.php3 b/htdocs/group_new.php3 index acc0df0..a833697 100644 --- a/htdocs/group_new.php3 +++ b/htdocs/group_new.php3 @@ -95,7 +95,7 @@ EOM; echo "No groups available\n"; else{ echo "\n"; } diff --git a/htdocs/show_groups.php3 b/htdocs/show_groups.php3 index 3fbff86..16e9da6 100644 --- a/htdocs/show_groups.php3 +++ b/htdocs/show_groups.php3 @@ -73,7 +73,7 @@ unset($login); $num = 0; include_once("../lib/$config[general_lib_type]/group_info.php3"); if (isset($existing_groups)){ - foreach ($existing_groups as $num_members => $group){ + foreach ($existing_groups as $group => $num_members){ $num++; echo << -- 2.39.5