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.
This commit is contained in:
Chris Morgan
2005-08-01 00:39:07 +00:00
committed by WineHQ
parent cc912964d6
commit 978014cf88

View File

@@ -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)