summaryrefslogtreecommitdiffstats
path: root/pkgdb-ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdb-ajax.php')
-rw-r--r--pkgdb-ajax.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php
index 5cff16c..b92a5c4 100644
--- a/pkgdb-ajax.php
+++ b/pkgdb-ajax.php
@@ -1,6 +1,6 @@
<?php
header('Content-Type: application/json;charset=utf-8');
-require 'FedoraClient.php';
+require 'main.inc.php';
$name = $_GET['name'];
if ( !isset($name) || !$name ) {
@@ -41,6 +41,7 @@ if ( !isset($name) || !$name ) {
);
}
$fedpkg[$k]['people'] = $new_people;
+ $fedpkg[$k]['package']['description'] = nl2br($fedpkg[$k]['package']['description']);
}
}
}