Fix typo in isUserSuperMaintainer()
This commit is contained in:
committed by
Chris Morgan
parent
9b92c2221c
commit
9524dac5da
@@ -548,7 +548,7 @@ class maintainer
|
|||||||
$hResult = query_parameters($sQuery, $oUser->iUserId, $iAppId, 'accepted');
|
$hResult = query_parameters($sQuery, $oUser->iUserId, $iAppId, 'accepted');
|
||||||
} else /* are we super maintainer of any applications? */
|
} else /* are we super maintainer of any applications? */
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND superMaintainer = '1' AND state'?'";
|
$sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND superMaintainer = '1' AND state = '?'";
|
||||||
$hResult = query_parameters($sQuery, $oUser->iUserId, 'accepted');
|
$hResult = query_parameters($sQuery, $oUser->iUserId, 'accepted');
|
||||||
}
|
}
|
||||||
if(!$hResult)
|
if(!$hResult)
|
||||||
|
|||||||
Reference in New Issue
Block a user