summaryrefslogtreecommitdiffstats
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 <pjmattal@brahms.out.elys.com>2007-09-25 10:36:20 -0400
commit47855f993a3b98956d0fc5c402e7f8439fdbeec9 (patch)
treeeeb7b7b54c2814fd288fe8b26a9d20201361d87b /web/html/index.php
parent988ecc442c44ae73320244f2d9b5f4f4b7e1723e (diff)
downloadaurweb-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/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 7d28d75..d175797 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);