diff --git a/web/html/index.php b/web/html/index.php index 7a95abf..86477b8 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -58,7 +58,7 @@ if (!empty($user)) { # If the user is a TU calculate the number of the packages $atype = account_from_sid($_COOKIE["AURSID"]); - if ($atype == 'Trusted User') { + if (($atype == 'Trusted User') || ($atype == 'Developer')) { $q = "SELECT count(*) FROM Packages,PackageLocations,Users WHERE Packages.MaintainerUID = Users.ID AND Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'community' AND Users.Username='".mysql_real_escape_string($user)."'"; $result = db_query($q, $dbh); $row = mysql_fetch_row($result); @@ -164,7 +164,7 @@ endif; - +