diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-05-30 15:33:58 +0800 |
---|---|---|
committer | trasher <trasher@x-tnd.be> | 2010-05-31 01:48:48 +0800 |
commit | bdc6b52b47cc8581c08a4ba6f32d3a8ba26ff295 (patch) | |
tree | 8e2746dc7ff6dc12c65579e163a7303421e48d49 | |
parent | 4fe73c547050003599021850f0c6099f7c224f07 (diff) |
fix case issue (p.e. with php-pecl-apc)
-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 { |