summaryrefslogtreecommitdiffstats
path: root/zoom.php
diff options
context:
space:
mode:
Diffstat (limited to 'zoom.php')
-rw-r--r--zoom.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/zoom.php b/zoom.php
index a353c77..55f2920 100644
--- a/zoom.php
+++ b/zoom.php
@@ -63,6 +63,8 @@ $smarty->assign('page_title', 'Package: ' . $name);
function getBranchPeople($params)
{
global $fedpkg;
+
+ $branch = $people = null; // avoid IDE warning
extract($params);
$ret = null;
if ($branch == 'rawhide' && isset($fedpkg['devel']['owner']) ) {
@@ -96,7 +98,8 @@ if ( !isset($name) || !$name ) {
try {
$db = new PDO ("mysql:dbname=" . MYBASE . ";host=" . MYHOST, MYUSER, MYPASS);
- $sql = "SELECT rpm.*
+ $sql = "SELECT rpm.*,
+ CONCAT(repo.url,rpm.name,'-',rpm.ver,'-',rpm.rel,'.src.rpm') as rpmurl
FROM rpm
INNER JOIN repo ON (repo.main=rpm.repo_main AND repo.sub=rpm.repo_sub)
WHERE rpm.name='$name'