Skip to content

Commit 62c5570

Browse files
Julian-TovarMr Bot
authored andcommitted
Merge pull request #6739 in DEV/moodle from fix/INT-19139_cheerful-fox to release/4.1+1
* commit '58398975c5c75c65ebff050fa398984c51170403': INT-19139 mod_hsuforum: Fixed Hsuforum code to pass theme_snap Behat tests in both PHP 8.1 and 7.4
2 parents 904a88f + 136c5ef commit 62c5570

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)