Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a problem creating single discussion forum related to mailnow

  • Loading branch information...
commit 23b5a13df5c96ad0eddf25244a41a6090a4ca20f 1 parent 51006e6
patrickslee authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/forum/lib.php
View
1  mod/forum/lib.php
@@ -112,6 +112,7 @@ function forum_add_instance($forum) {
$discussion->intro = $forum->intro;
$discussion->assessed = $forum->assessed;
$discussion->format = $forum->format;
+ $discussion->mailnow = false;
if (! forum_add_discussion($discussion, $discussion->intro)) {
error('Could not add the discussion for this forum');
Please sign in to comment.
Something went wrong with that request. Please try again.