fixing up the "is setup" check in the installer
[gwvp.git] / gwvplib / gwvprepoadmin.php
index cc78ba4..cb533bf 100644 (file)
@@ -265,7 +265,7 @@ function gwvp_RepoAdminPageBody()
                $manordetslink = "details";
                $manordets = "Details";
                if(isset($_SESSION["id"])) {
-                       if(gwvp_canManageRepo($_SESSION["id"], $rid)) {
+                       if(gwvp_resolvRepoPerms($_SESSION["id"], $rid)>3) {
                                $manordetslink = "manage";
                                $manordets = "Manage";
                        }