tbrehm
2007-05-20 76a1008a5c4d6bacc000eec590006ea57c7dbb4f
interface/lib/classes/tform.inc.php
@@ -108,6 +108,7 @@
        var $wordbook;
        var $module;
        var $primary_id;
      var $diffrec = array();
        /**
        * Laden der Tabellendefinition
@@ -611,7 +612,7 @@
                                                $validator_class = $validator['class'];
                                                $validator_function = $validator['function'];
                                                $app->uses($validator_class);
                                                $this->errorMessage .= $app->$validator_class->$validator_function($validator);
                                                $this->errorMessage .= $app->$validator_class->$validator_function($field_name, $field_value, $validator);
                                        } else {
                                                $this->errorMessage .= "Custom validator class or function is empty<br>\r\n";
                                        }
@@ -853,6 +854,8 @@
            // Insert the server_id, if the record has a server_id
            $server_id = ($record_old["server_id"] > 0)?$record_old["server_id"]:0;
            $this->diffrec = $diffrec;
                if(count($diffrec) > 0) {
                        
                  // We need the full records in ISPConfig, not only the diffs