summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 451467f..b0743cc 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -309,14 +309,15 @@ function package_details($id=0, $SID="") {
print "</tr>\n";
print "<tr>\n";
print " <td colspan='2'><span class='f3'>".__("Maintainer").": ";
- if ($row["AURMaintainerUID"]) {
- $maintainer = username_from_id($row["AURMaintainerUID"]);
- } elseif ($row["MaintainerUID"]) {
+ if ($row["MaintainerUID"]) {
$maintainer = username_from_id($row["MaintainerUID"]);
+ print "<a href='/account.php?Action=AccountInfo&ID=";
+ print $row["MaintainerUID"] . "'>";
+ print $maintainer . "</a></span></td>";
} else {
$maintainer = "None";
+ print $maintainer . "</span></td>";
}
- print $maintainer . "</span></td>";
print "</tr>\n";
print "<tr>\n";
print " <td colspan='2'><img src='/images/pad.gif' height='15'></td>";