summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-30 15:33:58 +0800
committertrasher <trasher@x-tnd.be>2010-05-31 01:48:48 +0800
commitbdc6b52b47cc8581c08a4ba6f32d3a8ba26ff295 (patch)
tree8e2746dc7ff6dc12c65579e163a7303421e48d49
parent4fe73c547050003599021850f0c6099f7c224f07 (diff)
fix case issue (p.e. with php-pecl-apc)
-rw-r--r--zoom.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/zoom.php b/zoom.php
index d115fa2..690471e 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 {