mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Regression to front page "Flagged as safe by me" language
Developers should be treated the same as TUs
This commit is contained in:
parent
220708c4ca
commit
cb7cec5028
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue