Permalink
Browse files

Fixed a problem creating single discussion forum related to mailnow

  • Loading branch information...
patrickslee
patrickslee committed Dec 20, 2005
1 parent 51006e6 commit 23b5a13df5c96ad0eddf25244a41a6090a4ca20f
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/forum/lib.php
View
@@ -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.