Florian Schaal
2016-02-25 d83abe0860e13d599b34e7e150e4ba2fd571db93
interface/lib/classes/tform_actions.inc.php
@@ -46,7 +46,7 @@
      $app->tpl->newTemplate("tabbed_form.tpl.htm");
      // Load table definition from file
      $app->tform->loadFormDef($tform_def_file);
      $app->tform->loadFormDef($tform_def_file, (isset($_SESSION['s']['module']['name']) ? $_SESSION['s']['module']['name'] : ''));
      // Importing ID
      $this->id = (isset($_REQUEST["id"]))?$app->functions->intval($_REQUEST["id"]):0;
@@ -594,7 +594,7 @@
            $app->load($plugin_class);
            $this->plugins[$plugin_name] = new $plugin_class;
            $this->plugins[$plugin_name]->setOptions($plugin_name, $plugin_settings['options']);
            // Make the data of the form easily accessible for the plugib
            // Make the data of the form easily accessible for the plugin
            $this->plugins[$plugin_name]->form = $this;
            $this->plugins[$plugin_name]->onLoad();
         }