Skip to content
Browse files

Fixed a problem creating single discussion forum related to mailnow

  • Loading branch information...
1 parent 51006e6 commit 23b5a13df5c96ad0eddf25244a41a6090a4ca20f patrickslee committed Dec 20, 2005
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');

0 comments on commit 23b5a13

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