mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'master' of git://git.mattal.com/aur
This commit is contained in:
commit
1769285c36
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue