From 910d3b2914bff9865b8d16548fb07133472cd30e Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Mon, 10 Jan 2005 22:26:15 +0000 Subject: [PATCH] Don't check is_maintainer() for false if you're already are is_supermaintainer. is_maintainer will always return true in that case. Makes the super maintainer removal button in version view correct again --- appview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appview.php b/appview.php index d51fb51..cfebb76 100644 --- a/appview.php +++ b/appview.php @@ -464,7 +464,7 @@ else if($appId && $versionId) { /* is this user a maintainer of this version by virtue of being a super maintainer */ /* of this app family? */ - if($_SESSION['current']->is_super_maintainer($appId) && !$_SESSION['current']->is_maintainer($appId, $versionId)) + if($_SESSION['current']->is_super_maintainer($appId)) { echo '
'; echo "";