summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-04-21 09:41:17 -0600
committerSteve Dibb <beandog@gentoo.org>2010-04-21 09:41:17 -0600
commit80b1dec07f920f4e5e8d31bfdaf2c5c648d73056 (patch)
treef7642a81faffd4faaeb1842bb3a3a9d12e4f8665 /xml.php
parentcosmetics (diff)
downloadznurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.gz
znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.bz2
znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.zip
recent updates
Diffstat (limited to 'xml.php')
-rw-r--r--xml.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/xml.php b/xml.php
index 8bdb8a3..77ea0b1 100644
--- a/xml.php
+++ b/xml.php
@@ -4,6 +4,7 @@
require_once 'inc.header1.php';
require_once 'class.db.package.php';
+ require_once 'class.db.package.changelog.php';
require_once 'class.db.category.php';
require_once 'class.portage.package.changelog.php';
@@ -115,13 +116,13 @@
$e = new DBEbuild($ebuild);
$p = new DBPackage($package);
$c = new DBCategory($p->category);
- $ch = new PackageChangelog($p->changelog);
+ $ch = new DBPackageChangelog($package);
$package_name = $p->name;
$category_name = $c->name;
$pf = $e->pf;
$ebuild_portage_mtime = $e->portage_mtime;
- $recent_changes = htmlspecialchars($ch->getRecentChanges());
+ $recent_changes = htmlspecialchars($ch->recent_changes);
$description = htmlspecialchars($p->description);
$entries[$x] = $row;