summaryrefslogtreecommitdiffstats
path: root/web/template/pkgbase_actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkgbase_actions.php')
-rw-r--r--web/template/pkgbase_actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkgbase_actions.php b/web/template/pkgbase_actions.php
index d3f05921..5eee5478 100644
--- a/web/template/pkgbase_actions.php
+++ b/web/template/pkgbase_actions.php
@@ -41,7 +41,7 @@
<?php if ($uid && $row["MaintainerUID"] === NULL): ?>
<li><?= html_action_form($base_uri . 'adopt/', "do_Adopt", __('Adopt Package')) ?></li>
- <?php elseif (has_credential(CRED_PKGBASE_DISOWN, array($row["MaintainerUID"]))): ?>
+ <?php elseif (has_credential(CRED_PKGBASE_DISOWN, array_merge(array($row["MaintainerUID"]), pkgbase_get_comaintainer_uids(array($base_id))))): ?>
<li><?= html_action_form($base_uri . 'disown/', "do_Disown", __('Disown Package')) ?></li>
<?php endif; ?>
</ul>