Skip to content

Commit

Permalink
Merged from 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshane committed Dec 5, 2006
1 parent 99ad763 commit 57f876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Expand Up @@ -690,7 +690,7 @@
if (!empty($parent) && !forum_user_can_see_post($forum, $discussion, $post)) {
error("You cannot reply to this post");
}
if (empty($parent) && !forum_user_can_post_discussion($forum)) {
if (empty($parent) && empty($edit) && !forum_user_can_post_discussion($forum)) {
error("You cannot start a new discussion in this forum");
}

Expand Down

0 comments on commit 57f876b

Please sign in to comment.