From cb7cec5028316bc235574258bb73af8f9f643bef Mon Sep 17 00:00:00 2001 From: Paul Mattal Date: Tue, 25 Sep 2007 10:19:12 -0400 Subject: Regression to front page "Flagged as safe by me" language Developers should be treated the same as TUs --- web/html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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 ""; print ""; - 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); -- cgit v1.2.3-70-g09d2