diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-14 14:15:09 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-14 14:15:09 +0000 |
commit | 99e87e1869e49c67bea2b779283def0e98f39bca (patch) | |
tree | 9a80b9364c49713a146f3fe2f0c118b01880f988 /h-source/Application/Models/HardwareModel.php | |
parent | bd506cb53aefc43d0a63b6fc9068bd236e543244 (diff) |
improved history
Diffstat (limited to 'h-source/Application/Models/HardwareModel.php')
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index 150abc8..10f899e 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -226,7 +226,7 @@ class HardwareModel extends Model_Map { $history = new HistoryModel(); $history->values = array( 'created_by' => $this->id_user, - 'type' => 'wiki', + 'type' => 'hardware', 'action' => $action, 'id' => $this->lastId, 'message' => 'The device having id='.$this->lastId.' has been '.$translations[$action].' by the user ' . $clean['user'] . ' (id_user='.$this->id_user.') ', |