summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorPaul Mattal <paul@mattal.com>2007-09-25 16:19:12 +0200
committerPaul Mattal <pjmattal@brahms.out.elys.com>2007-09-25 16:36:20 +0200
commit47855f993a3b98956d0fc5c402e7f8439fdbeec9 (patch)
treeeeb7b7b54c2814fd288fe8b26a9d20201361d87b /web
parent988ecc442c44ae73320244f2d9b5f4f4b7e1723e (diff)
downloadaur-47855f993a3b98956d0fc5c402e7f8439fdbeec9.tar.gz
aur-47855f993a3b98956d0fc5c402e7f8439fdbeec9.tar.xz
Regression to front page "Flagged as safe by me" language
Developers should be treated the same as TUs
Diffstat (limited to 'web')
-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 7d28d75e..d1757977 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -277,7 +277,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);