From 99e87e1869e49c67bea2b779283def0e98f39bca Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 14 Feb 2011 14:15:09 +0000 Subject: improved history --- h-source/Application/Models/HardwareModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Models') 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.') ', -- cgit v1.2.3