From c6e09def2b75762128f432130556ec6121fd8b8c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 22 May 2015 19:53:19 +0200 Subject: Fix processing of pkgbase_get_comaintainers() pkgbase_get_comaintainers() returns an array of user names, not an array of user IDs. Signed-off-by: Lukas Fleischer --- web/html/pkgdisown.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/html') diff --git a/web/html/pkgdisown.php b/web/html/pkgdisown.php index cf7bb41..d4a3714 100644 --- a/web/html/pkgdisown.php +++ b/web/html/pkgdisown.php @@ -11,7 +11,7 @@ check_sid(); html_header(__("Disown Package")); $maintainer_uids = array(pkgbase_maintainer_uid($base_id)); -$comaintainer_uids = pkgbase_get_comaintainers($base_id); +$comaintainers = pkgbase_get_comaintainers($base_id); if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?>
@@ -26,9 +26,9 @@ if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?>

- 0 && !has_credential(CRED_PKGBASE_DISOWN)): ?> + 0 && !has_credential(CRED_PKGBASE_DISOWN)): ?> ', $comaintainer_uids[0], ''); ?> + '', $comaintainers[0], ''); ?> -- cgit v1.2.3-54-g00ecf