diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-04-21 09:41:17 -0600 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-04-21 09:41:17 -0600 |
commit | 80b1dec07f920f4e5e8d31bfdaf2c5c648d73056 (patch) | |
tree | f7642a81faffd4faaeb1842bb3a3a9d12e4f8665 /category.php | |
parent | cosmetics (diff) | |
download | znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.gz znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.bz2 znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.zip |
recent updates
Diffstat (limited to 'category.php')
-rw-r--r-- | category.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/category.php b/category.php index ddc7c6a..16b0749 100644 --- a/category.php +++ b/category.php @@ -7,13 +7,14 @@ $obj = new DBCategory($category_id); $name = $obj->name; - $description = $obj->description; + $description = $obj->getDescription($lingua); $url = $base_uri."categories"; echo "<h4>$name</h4>"; - echo "<div class='description'>$description</div>"; + if($description) + echo "<div class='description'>$description</div>"; $sql = "SELECT package_name, package, id AS ebuild FROM ebuilds WHERE category = ".$db->quote($category_id).";"; $arr = $db->getAll($sql); |