From 978014cf88095866bbfcce3f86a28f9ffbf4b44e Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Mon, 1 Aug 2005 00:39:07 +0000 Subject: [PATCH] Fix maintainer name display when processing maintainer queue. Code was assuming the returned values were arrays when they were in fact just a single value, copy paste bug from another set of code. --- admin/adminMaintainerQueue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/adminMaintainerQueue.php b/admin/adminMaintainerQueue.php index 79a9387..e7d5d25 100644 --- a/admin/adminMaintainerQueue.php +++ b/admin/adminMaintainerQueue.php @@ -66,7 +66,7 @@ if ($_REQUEST['sub']) if($other_users) { $foundMaintainers = true; - while(list($index, list($userIdValue)) = each($other_users)) + while(list($index, $userIdValue) = each($other_users)) { $oUser = new User($userIdValue); if($firstDisplay) @@ -84,7 +84,7 @@ if ($_REQUEST['sub']) if($other_users) { $foundMaintainers = true; - while(list($index, list($userIdValue)) = each($other_users)) + while(list($index, $userIdValue) = each($other_users)) { $oUser = new User($userIdValue); if($firstDisplay)