summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
authoreric <eric>2004-06-25 02:17:17 +0200
committereric <eric>2004-06-25 02:17:17 +0200
commit16a97cf1a38313dbe8cab0f29f1054e61a3964f6 (patch)
treea6e535a9b130f20b204ca860573425a1b99cedb5 /web/lib/aur.inc
parent1f62f86af5225643f2a7d72c1a050c46ffc37477 (diff)
downloadaur-16a97cf1a38313dbe8cab0f29f1054e61a3964f6.tar.gz
aur-16a97cf1a38313dbe8cab0f29f1054e61a3964f6.tar.xz
first pass at displaying package search results - still needs Less/More buttons
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 39c5c92f..def41c6f 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -33,7 +33,7 @@ function getTrustedUsers() {
$result = db_query($q, $dbh);
if ($result) {
while ($row = mysql_fetch_assoc($result)) {
- $tus[] = $row;
+ $tus[$row["ID"]] = $row;
}
}
return $tus;
@@ -50,7 +50,7 @@ function getDevelopers() {
$result = db_query($q, $dbh);
if ($result) {
while ($row = mysql_fetch_assoc($result)) {
- $devs[] = $row;
+ $devs[$row["ID"]] = $row;
}
}
return $devs;