mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<!-- It is used from /course/mod.php. The whole instance is available as $form. -->
|
<!-- It is used from /course/mod.php. The whole instance is available as $form. -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require("$CFG->dirroot/mod/wiki/lib.php");
|
require_once("$CFG->dirroot/mod/wiki/lib.php");
|
||||||
|
|
||||||
if (!isset($form->id)) {
|
if (!isset($form->id)) {
|
||||||
$form->id = '';
|
$form->id = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue