Use a require_once just in case
This commit is contained in:
+1
-1
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user