diff options
Diffstat (limited to 'zoom.php')
-rw-r--r-- | zoom.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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' |