Skip to content

Commit 3d12cb9

Browse files
author
Mr Bot
committed
Automatic merge from release/4.1+1 -> release/4.1+2
* commit 'cb78013810c0a0204661631f84486eabfba0df55': INT-19139 mod_hsuforum: Fixed Hsuforum code to pass theme_snap Behat tests in both PHP 8.1 and 7.4
2 parents 2a99eb5 + 62c5570 commit 3d12cb9

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)