diff options
Diffstat (limited to 'h-source/Application/Models/HardwareModel.php')
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index 7df7a65..9633eac 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -109,7 +109,7 @@ class HardwareModel extends Model_Map { //save the old fields in the revisions table $this->setWhereQueryClause(array('id_hard' => $clean['id'])); - $oldStruct = $this->getFields($this->fields.',created_by,updated_by,update_date,type,id_hard'); + $oldStruct = $this->getFields($this->fields.',vendor,created_by,updated_by,update_date,type,id_hard'); if (count($oldStruct > 0)) { @@ -151,7 +151,7 @@ class HardwareModel extends Model_Map { //save the old fields in the revisions table $this->setWhereQueryClause(array('id_hard'=>$clean['id_hard'])); - $oldStruct = $this->getFields($this->fields.',created_by,updated_by,update_date,type,id_hard'); + $oldStruct = $this->getFields($this->fields.',vendor,created_by,updated_by,update_date,type,id_hard'); if (count($oldStruct > 0)) { @@ -159,7 +159,7 @@ class HardwareModel extends Model_Map { { //get the values of the revision $revisions->setWhereQueryClause(array('id_rev'=>$clean['id_rev'])); - $newStruct = $revisions->getFields($this->fields.',created_by,updated_by,update_date,type'); + $newStruct = $revisions->getFields($this->fields.',vendor,created_by,updated_by,update_date,type'); if (count($newStruct > 0)) { |