[MDL-23556]
Fixing this issue at wiki creation.
This commit is contained in:
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user