summaryrefslogtreecommitdiff
path: root/htdocs/src
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-07-17 12:02:49 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-07-17 12:02:49 -0700
commitfc919902e535646dd82fbf43caef5ac7be6aa0bb (patch)
treeaa5c8ec50726bd1f2a265878113abcc1fb4d255f /htdocs/src
parent83255afe45c6b59ba0f6f0f0e1b9f309d18b9f6c (diff)
Added category to post page
Diffstat (limited to 'htdocs/src')
-rw-r--r--htdocs/src/Post.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/src/Post.inc.php b/htdocs/src/Post.inc.php
index 888a5fa..906778e 100644
--- a/htdocs/src/Post.inc.php
+++ b/htdocs/src/Post.inc.php
@@ -213,7 +213,7 @@ class Post {
public function getCategory() {
if ($this->category == NULL) {
- $this->category = Categories::getById($this->info['category_id']);
+ $this->category = Category::getById($this->info['category_id']);
}
return $this->category;