From 559644208186ff86f2c3e5fc4ced4a73a5f5abd3 Mon Sep 17 00:00:00 2001 From: uniun Date: Fri, 24 May 2013 11:25:36 +0300 Subject: [PATCH] FIX: Form::set_current_action() never gets called. --- forms/Form.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/forms/Form.php b/forms/Form.php index 19fabdddc..d007223c1 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -259,10 +259,6 @@ class Form extends RequestHandler { } else { $vars = $request->requestVars(); } - - if(isset($funcName)) { - Form::set_current_action($funcName); - } // Populate the form $this->loadDataFrom($vars, true); @@ -299,6 +295,7 @@ class Form extends RequestHandler { } if(isset($funcName)) { + Form::set_current_action($funcName); $this->setButtonClicked($funcName); }