diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-05-30 09:33:58 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-05-30 09:33:58 +0200 |
commit | d685c2ec852718f45941a47f1c2d810ad1484015 (patch) | |
tree | 4bdabad3b4b918de355525354a0ff32f14bfea76 /zoom.php | |
parent | 579859d94729c8eadc96d35d1fbd4cc3fa7d4b0d (diff) |
fix case issue (p.e. with php-pecl-apc)
Diffstat (limited to 'zoom.php')
-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 { |