Skip to content

Commit 5596442

Browse files
committed
FIX: Form::set_current_action() never gets called.
1 parent 916de30 commit 5596442

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

forms/Form.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@ public function httpSubmission($request) {
259259
} else {
260260
$vars = $request->requestVars();
261261
}
262-
263-
if(isset($funcName)) {
264-
Form::set_current_action($funcName);
265-
}
266262

267263
// Populate the form
268264
$this->loadDataFrom($vars, true);
@@ -299,6 +295,7 @@ public function httpSubmission($request) {
299295
}
300296

301297
if(isset($funcName)) {
298+
Form::set_current_action($funcName);
302299
$this->setButtonClicked($funcName);
303300
}
304301

0 commit comments

Comments
 (0)