summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-06 05:25:28 +0200
committerpjmattal <pjmattal>2005-04-06 05:25:28 +0200
commit20c02507ab2e9ea1f36910611b50b00f32a8365d (patch)
treede5bd868a876386cebe490c5a99d48237a2e691d /web/lib/pkgfuncs.inc
parent71b5b9e6b7e92fe1f2c0c49f47af1c1255f41e24 (diff)
downloadaur-20c02507ab2e9ea1f36910611b50b00f32a8365d.tar.gz
aur-20c02507ab2e9ea1f36910611b50b00f32a8365d.tar.xz
fixed multiple maintainer mess
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index bef63005..b5428dde 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -444,6 +444,7 @@ function pkg_search_page($SID="") {
$cats = pkgCategories();
$devs = getDevelopers();
$tus = getTrustedUsers();
+ $users = getUsers();
$dbh = db_connect();
@@ -827,10 +828,13 @@ function pkg_search_page($SID="") {
# print the package manager, also determine if it is managed
#
$managed = 1;
- if (isset($devs[$row["AURMaintainerUID"]])) {
- print $devs[$row["AURMaintainerUID"]]["Username"];
- } elseif (isset($tus[$row["MaintainerUID"]])) {
- print $tus[$row["MaintainerUID"]]["Username"];
+ # if (isset($devs[$row["AURMaintainerUID"]])) {
+ # print $devs[$row["AURMaintainerUID"]]["Username"];
+ # } else
+ # if (isset($tus[$row["MaintainerUID"]])) {
+ # print $tus[$row["MaintainerUID"]]["Username"];
+ if (isset($users[$row["MaintainerUID"]])) {
+ print $users[$row["MaintainerUID"]]["Username"];
} else {
print __("None");
$managed = 0;