From d685c2ec852718f45941a47f1c2d810ad1484015 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 30 May 2010 09:33:58 +0200 Subject: fix case issue (p.e. with php-pecl-apc) --- zoom.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'zoom.php') 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 "

$name not found

\n"; } else { -- cgit