summaryrefslogtreecommitdiffstats
path: root/zoom.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-30 09:33:58 +0200
committerRemi Collet <fedora@famillecollet.com>2010-05-30 09:33:58 +0200
commitd685c2ec852718f45941a47f1c2d810ad1484015 (patch)
tree4bdabad3b4b918de355525354a0ff32f14bfea76 /zoom.php
parent579859d94729c8eadc96d35d1fbd4cc3fa7d4b0d (diff)
fix case issue (p.e. with php-pecl-apc)
Diffstat (limited to 'zoom.php')
-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 {