summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zoom.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/zoom.php b/zoom.php
index d136d56..7724dcd 100644
--- a/zoom.php
+++ b/zoom.php
@@ -113,6 +113,13 @@ if ( !isset($name) || !$name ) {
$resown=$db->query($sql);
$owner = ($resown ? $resown->fetchObject() : false);
+ if (isset($owner->name)) {
+ // Use exact name (with case) from acl (else pkgdb could fail)
+ $name = $owner->name;
+ $smarty->assign('name', $name);
+ $smarty->assign('page_title', 'Package: ' . $name);
+ }
+
if (!$rpm) {
echo "<h1>$name not found</h1>\n";
} else {