User::isMaintainer(iVersionId) was being passed (iAppId, iVersionId) instead, oops
This commit is contained in:
@@ -46,7 +46,7 @@ $versionId = strip_tags($_POST['versionId']);
|
||||
$superMaintainer = strip_tags($_POST['superMaintainer']);
|
||||
|
||||
/* if the user is already a maintainer don't add them again */
|
||||
if($_SESSION['current']->isMaintainer($appId, $versionId))
|
||||
if($_SESSION['current']->isMaintainer($versionId))
|
||||
{
|
||||
echo "You are already a maintainer of this app!";
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user