[MDL-23556]

Fixing this issue at wiki creation.
This commit is contained in:
Jordi Piguillem
2010-08-03 17:28:17 +00:00
parent becf81c736
commit f6e56f2890
+3 -1
View File
@@ -48,7 +48,9 @@ function wiki_add_instance($wiki) {
$wiki->timemodified = time();
# May have to add extra stuff in here #
if (empty($wiki->forceformat)) {
$wiki->forceformat = 0;
}
return $DB->insert_record('wiki', $wiki);
}