From fc919902e535646dd82fbf43caef5ac7be6aa0bb Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 17 Jul 2011 12:02:49 -0700 Subject: Added category to post page --- htdocs/src/Post.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htdocs/src/Post.inc.php') 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; -- cgit v1.2.3