diff --git a/workflow/engine/controllers/pmTablesProxy.php b/workflow/engine/controllers/pmTablesProxy.php index 30892b520..5cf282954 100755 --- a/workflow/engine/controllers/pmTablesProxy.php +++ b/workflow/engine/controllers/pmTablesProxy.php @@ -915,12 +915,11 @@ class pmTablesProxy extends HttpProxyController */ public function import ($httpData) { + $fromAdmin = false; if (isset( $_POST["form"]["TYPE_TABLE"] ) && ! empty( $_POST["form"]["TYPE_TABLE"] )) { if($_POST["form"]["TYPE_TABLE"] == 'admin') { $fromAdmin = true; - } else { - $fromAdmin = false; - } + } } require_once 'classes/model/AdditionalTables.php';