diff --git a/mod/forum/search.php b/mod/forum/search.php index 8dd39d9c2ec..b52281655bc 100644 --- a/mod/forum/search.php +++ b/mod/forum/search.php @@ -318,7 +318,7 @@ echo $OUTPUT->footer(); * @return void The function prints the form. */ function forum_print_big_search_form($course) { - global $CFG, $DB, $words, $subject, $phrase, $user, $userid, $fullwords, $notwords, $datefrom, $dateto, $PAGE, $OUTPUT; + global $CFG, $DB, $words, $subject, $phrase, $user, $fullwords, $notwords, $datefrom, $dateto, $OUTPUT, $forumid; echo $OUTPUT->box(get_string('searchforumintro', 'forum'), 'searchbox boxaligncenter', 'intro'); @@ -408,7 +408,7 @@ function forum_print_big_search_form($course) { echo '