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:
@@ -66,7 +66,7 @@ if ($_REQUEST['sub'])
|
|||||||
if($other_users)
|
if($other_users)
|
||||||
{
|
{
|
||||||
$foundMaintainers = true;
|
$foundMaintainers = true;
|
||||||
while(list($index, list($userIdValue)) = each($other_users))
|
while(list($index, $userIdValue) = each($other_users))
|
||||||
{
|
{
|
||||||
$oUser = new User($userIdValue);
|
$oUser = new User($userIdValue);
|
||||||
if($firstDisplay)
|
if($firstDisplay)
|
||||||
@@ -84,7 +84,7 @@ if ($_REQUEST['sub'])
|
|||||||
if($other_users)
|
if($other_users)
|
||||||
{
|
{
|
||||||
$foundMaintainers = true;
|
$foundMaintainers = true;
|
||||||
while(list($index, list($userIdValue)) = each($other_users))
|
while(list($index, $userIdValue) = each($other_users))
|
||||||
{
|
{
|
||||||
$oUser = new User($userIdValue);
|
$oUser = new User($userIdValue);
|
||||||
if($firstDisplay)
|
if($firstDisplay)
|
||||||
|
|||||||
Reference in New Issue
Block a user