tbrehm
2009-02-27 bde98e025a98abb7bb6b9b6e384e63dc72ba15f0
interface/lib/classes/tform_actions.inc.php
@@ -30,11 +30,11 @@
class tform_actions {
        var $id;
        var $activeTab;
        var $dataRecord;
        var $plugins = array();
      var $oldDataRecord; // This array is only filled during updates and when db_history is enabled.
        public $id;
        public $activeTab;
        public $dataRecord;
        public $plugins = array();
      public $oldDataRecord; // This array is only filled during updates and when db_history is enabled.
        function onLoad() {
                global $app, $conf, $tform_def_file;
@@ -80,9 +80,11 @@
                // Calling the action functions
                if($this->id > 0) {
                        $this->onUpdate();
               $app->tform->action == 'EDIT';
               $this->onUpdate();
                } else {
                        $this->onInsert();
               $app->tform->action == 'NEW';
               $this->onInsert();
                }
        }