Sergio Cambra
2014-07-01 5dc7c8f6f604fb960e36d81e3a3d489f7852e723
interface/lib/classes/tform_actions.inc.php
@@ -106,6 +106,7 @@
      global $app, $conf;
      $this->onBeforeUpdate();
      $app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_update', $this);
      $ext_where = '';
      $sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where);
@@ -192,6 +193,7 @@
      global $app, $conf;
      $this->onBeforeInsert();
      $app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_insert', $this);
      $ext_where = '';
      $sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'INSERT', $this->id, $ext_where);