From a39f9512f0efd3ec3e0a31df656e25dd3f824f6d Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 24 May 2011 17:08:38 -0700 Subject: Working on moderation approve/reject --- htdocs/postings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htdocs/postings.php') diff --git a/htdocs/postings.php b/htdocs/postings.php index c6f53d5..e43f24e 100644 --- a/htdocs/postings.php +++ b/htdocs/postings.php @@ -28,7 +28,7 @@ if (!is_numeric($id)) { // Get the post. $post = Post::getById($id); -if (!$post) { +if (!$post or $post->getStage() != 'approved') { errorNotFound(); } -- cgit v1.2.3