diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-05-24 17:08:38 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-05-24 17:08:38 -0700 |
commit | a39f9512f0efd3ec3e0a31df656e25dd3f824f6d (patch) | |
tree | 70e797cc9b1f8978f73799fc0d181e9005859530 /htdocs/postings.php | |
parent | b41edfdbeb371f3259da1470a5533523939b42a0 (diff) |
Working on moderation approve/reject
Diffstat (limited to 'htdocs/postings.php')
-rw-r--r-- | htdocs/postings.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |