mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Use a require_once just in case
This commit is contained in:
parent
c44d5d4215
commit
fefefb4898
@ -52,7 +52,7 @@
|
||||
<td>
|
||||
<?php
|
||||
$student = strtolower($course->student);
|
||||
require("$CFG->dirroot/mod/forum/lib.php");
|
||||
require_once("$CFG->dirroot/mod/forum/lib.php");
|
||||
asort($FORUM_TYPES);
|
||||
if (! $form->type) {
|
||||
$form->type = 'general';
|
||||
|
Loading…
x
Reference in New Issue
Block a user