Marius Cramer
2014-05-06 666853a6e86725a984c69e2db4125883211d4415
Fixed wrong event parameter
1 files modified
4 ■■■■ changed files
interface/lib/classes/tform_actions.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/classes/tform_actions.inc.php
@@ -106,7 +106,7 @@
        global $app, $conf;
        $this->onBeforeUpdate();
        $app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_update', array('page_form'=>$this, 'sql'=>$sql));
        $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);
@@ -193,7 +193,7 @@
        global $app, $conf;
        $this->onBeforeInsert();
        $app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_insert', array('page_form'=>$this, 'sql'=>$sql));
        $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);