summaryrefslogtreecommitdiffstats
path: root/pkgdb-ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdb-ajax.php')
-rw-r--r--pkgdb-ajax.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php
index 82eb5b7..cddaea5 100644
--- a/pkgdb-ajax.php
+++ b/pkgdb-ajax.php
@@ -44,7 +44,7 @@ if ( !isset($name) || !$name ) {
$fedcli = new FedoraPkgdb();
$fedpkg = $fedcli->getPackageInfo($name);
if ( $fedpkg === false ) {
- $fedpkg = array('error' => 'Unknown package');
+ $fedpkg = array(/*'error' => 'Unknown package'*/);
} else {
//let's clean all little to avoid heavy json
foreach ( array_keys($fedpkg) as $k ) {
@@ -69,4 +69,4 @@ if ( !isset($name) || !$name ) {
}
}
echo json_encode($fedpkg);
-?> \ No newline at end of file
+?>