Permalink
Browse files

Merge branch 'MDL-39192_m24' of https://github.com/markn86/moodle int…

…o MOODLE_24_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Apr 28, 2013
2 parents 0b8cda3 + 709c441 commit 3e7b95b4310356264c436308f63179a656096e11
Showing with 4 additions and 1 deletion.
  1. +4 −1 mod/forum/post.php
View
@@ -864,7 +864,10 @@
echo $OUTPUT->notification(get_string('qandanotify','forum'));
}
-forum_check_throttling($forum, $cm);
+// If we are not editing a post we need to check the posting threshold.
+if (!$edit) {
+ forum_check_throttling($forum, $cm);
+}
if (!empty($parent)) {
if (! $discussion = $DB->get_record('forum_discussions', array('id' => $parent->discussion))) {

0 comments on commit 3e7b95b

Please sign in to comment.