aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r--h-source/Application/Models/HardwareModel.php2
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.') ',