diff options
-rw-r--r-- | zoom.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 { |