maintainer: Fix SQL field in isUserMaintainer
This commit is contained in:
committed by
Chris Morgan
parent
16d212c552
commit
31bb4c0d9d
@@ -557,11 +557,11 @@ class maintainer
|
|||||||
/* otherwise check if we maintain this specific version */
|
/* otherwise check if we maintain this specific version */
|
||||||
if($iVersionId)
|
if($iVersionId)
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND versionId = '?' AND queued = '?'";
|
$sQuery = "SELECT * FROM appMaintainers WHERE userId = '?' AND versionId = '?' AND queued = '?'";
|
||||||
$hResult = query_parameters($sQuery, $oUser->iUserId, $iVersionId, "false");
|
$hResult = query_parameters($sQuery, $oUser->iUserId, $iVersionId, "false");
|
||||||
} else // are we maintaining any version ?
|
} else // are we maintaining any version ?
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND queued = '?'";
|
$sQuery = "SELECT * FROM appMaintainers WHERE userId = '?' AND queued = '?'";
|
||||||
$hResult = query_parameters($sQuery, $oUser->iUserId, "false");
|
$hResult = query_parameters($sQuery, $oUser->iUserId, "false");
|
||||||
}
|
}
|
||||||
if(!$hResult)
|
if(!$hResult)
|
||||||
|
|||||||
Reference in New Issue
Block a user