summaryrefslogtreecommitdiff
path: root/web/html/index.php
diff options
context:
space:
mode:
authorPaul Mattal <paul@mattal.com>2007-09-25 10:19:12 -0400
committerPaul Mattal <paul@mattal.com>2007-09-25 10:19:12 -0400
commitcb7cec5028316bc235574258bb73af8f9f643bef (patch)
tree0961a1814794a6f3db4c57492cf4ca715f1937ad /web/html/index.php
parent220708c4ca12a581e175236606401ea0beae9a40 (diff)
Regression to front page "Flagged as safe by me" language
Developers should be treated the same as TUs
Diffstat (limited to 'web/html/index.php')
-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 d76d13d..4e38e1e 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);