diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 19:53:19 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 21:14:24 +0200 |
commit | c6e09def2b75762128f432130556ec6121fd8b8c (patch) | |
tree | 9a665d9a46de6d09927b5795676b7cc3762e99cc /web/html | |
parent | 0b8c11a37ae9dbaa5ca4cf64204515db31ea2b3a (diff) | |
download | aur-c6e09def2b75762128f432130556ec6121fd8b8c.tar.gz aur-c6e09def2b75762128f432130556ec6121fd8b8c.tar.xz |
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 <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/pkgdisown.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/pkgdisown.php b/web/html/pkgdisown.php index cf7bb41e..d4a3714a 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)): ?> <div class="box"> @@ -26,9 +26,9 @@ if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?> <?php endforeach; ?> </ul> <p> - <?php if (count($comaintainer_uids) > 0 && !has_credential(CRED_PKGBASE_DISOWN)): ?> + <?php if (count($comaintainers) > 0 && !has_credential(CRED_PKGBASE_DISOWN)): ?> <?= __('By selecting the checkbox, you confirm that you want to disown the package and transfer ownership to %s%s%s.', - '<strong>', $comaintainer_uids[0], '</strong>'); ?> + '<strong>', $comaintainers[0], '</strong>'); ?> <?php else: ?> <?= __('By selecting the checkbox, you confirm that you want to disown the package.') ?> <?php endif; ?> |