Skip to content

Commit 136c5ef

Browse files
committed
INT-19139 mod_hsuforum: Fixed Hsuforum code to pass theme_snap Behat tests in both PHP 8.1 and 7.4
1 parent 04e27c8 commit 136c5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/controller/export_controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function export_action() {
7070
$mform = new export_form($this->new_url(), (object) array(
7171
'cm' => $cm,
7272
'forum' => $PAGE->activityrecord,
73-
));
73+
), 'post', '', array('onreset' => ''));
7474

7575
if ($mform->is_cancelled()) {
7676
redirect(new \moodle_url('/mod/hsuforum/view.php', array('id' => $cm->id)));

0 commit comments

Comments
 (0)