Permalink
Browse files

FIX: Form::set_current_action() never gets called.

  • Loading branch information...
1 parent 916de30 commit 559644208186ff86f2c3e5fc4ced4a73a5f5abd3 @uniun uniun committed May 24, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 forms/Form.php
View
@@ -259,10 +259,6 @@ public function httpSubmission($request) {
} else {
$vars = $request->requestVars();
}
-
- if(isset($funcName)) {
- Form::set_current_action($funcName);
- }
// Populate the form
$this->loadDataFrom($vars, true);
@@ -299,6 +295,7 @@ public function httpSubmission($request) {
}
if(isset($funcName)) {
+ Form::set_current_action($funcName);
$this->setButtonClicked($funcName);
}

0 comments on commit 5596442

Please sign in to comment.