summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--class/FedoraPkgdb.php2
-rw-r--r--pkgdb-ajax.php2
-rw-r--r--scripts/rpmphp.js2
-rw-r--r--smarty/templates/rpmphp/zoom.tpl2
4 files changed, 4 insertions, 4 deletions
diff --git a/class/FedoraPkgdb.php b/class/FedoraPkgdb.php
index 9f2a094..d170911 100644
--- a/class/FedoraPkgdb.php
+++ b/class/FedoraPkgdb.php
@@ -80,7 +80,7 @@ class FedoraPkgdb extends FedoraClient
function getPackageURL($name)
{
- return $this->url.$this->suburl.urlencode($name);
+ return $this->url.$this->suburl.$name;
}
function getPackageInfo($name, $refresh=false)
diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php
index f23b4cf..24d07b8 100644
--- a/pkgdb-ajax.php
+++ b/pkgdb-ajax.php
@@ -80,6 +80,6 @@ if ( !isset($name) || !$name ) {
}
}
}
-
+error_log("RETURN:".print_r($fedpkg,true));
echo json_encode($fedpkg);
?> \ No newline at end of file
diff --git a/scripts/rpmphp.js b/scripts/rpmphp.js
index 18dfa32..6723438 100644
--- a/scripts/rpmphp.js
+++ b/scripts/rpmphp.js
@@ -30,7 +30,7 @@ function initZoomJS(name)
if ( data.error ) {
alert(data.error);
} else {
- $('#' + name + '_desc').empty().html(data.devel.package.description);
+ $('#' + 'pkgdb_desc').empty().html(data.devel.package.description);
$.each(
data,
function(k, v){
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index bcbb222..5841478 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -40,7 +40,7 @@
{foreach from=$summary key=k item=v}
<tr>
<th>{$k}:</th>
- <td{if $k eq 'Description'} id="{$name}_desc"{/if}>
+ <td{if $k eq 'Description'} id="pkgdb_desc"{/if}>
{if $k eq 'Bugzilla'}
<a href="{$v}">Active bugs</a>
{elseif $k eq 'URL' or $k eq 'ViewVC' or $k eq 'PkgDB'}