mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merged from MOODLE_15_STABLE: Fixing a fatal error in updating a wiki (lib.php included twice )
This commit is contained in:
parent
c7ac6225cc
commit
dcfb30bb16
@ -2,7 +2,7 @@
|
||||
<!-- It is used from /course/mod.php. The whole instance is available as $form. -->
|
||||
|
||||
<?php
|
||||
require("$CFG->dirroot/mod/wiki/lib.php");
|
||||
require_once("$CFG->dirroot/mod/wiki/lib.php");
|
||||
|
||||
if (!isset($form->id)) {
|
||||
$form->id = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user