Skip to content
Browse files

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

…o MOODLE_23_STABLE
  • Loading branch information...
2 parents 092f451 + b4eb152 commit 2a6c9c15365844f758bccfeaf9b5b82a5bedcb11 @samhemelryk samhemelryk committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 mod/forum/post.php
View
5 mod/forum/post.php
@@ -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 2a6c9c1

Please sign in to comment.
Something went wrong with that request. Please try again.