From 4f93f5ba08df598d55a992ae942202d0deb023b7 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 18 Oct 2006 19:59:27 +0000 Subject: [PATCH] Notice when creating one forum... MDL-7063 ; merged from MOODLE_17_STABLE --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f7cb62c462..70a409f961 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -96,7 +96,7 @@ function forum_add_instance($forum) { $forum->timemodified = time(); - if (!$forum->assessed) { + if (!isset($forum->assessed)) { $forum->assessed = 0; } -- 2.39.5