summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mattal <paul@mattal.com>2007-09-25 16:19:12 +0200
committerPaul Mattal <paul@mattal.com>2007-09-25 16:19:12 +0200
commitcb7cec5028316bc235574258bb73af8f9f643bef (patch)
tree0961a1814794a6f3db4c57492cf4ca715f1937ad
parent220708c4ca12a581e175236606401ea0beae9a40 (diff)
downloadaur-cb7cec5028316bc235574258bb73af8f9f643bef.tar.gz
aur-cb7cec5028316bc235574258bb73af8f9f643bef.tar.xz
Regression to front page "Flagged as safe by me" language
Developers should be treated the same as TUs
-rw-r--r--web/html/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index d76d13d7..4e38e1e1 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -274,7 +274,7 @@ if (!empty($user)) {
# Number of safe packages
print "<tr>";
print "<td class='boxSoft'>";
- if ($atype == 'Trusted User') {
+ if ($atype == 'Trusted User' || $atype == 'Developer') {
$q = "SELECT count(*) FROM Packages,Users WHERE Packages.Safe = 1 AND Packages.VerifiedBy = Users.ID AND Users.Username='".mysql_real_escape_string($user)."'";
$result = db_query($q, $dbh);
$row = mysql_fetch_row($result);