diff options
Diffstat (limited to 'h-source/Application/Models/HardwareModel.php')
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index f51333e..65bf868 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -170,7 +170,7 @@ class HardwareModel extends Model_Map { } - public function update($id) + public function update($id = null, $where = null) { $clean['id'] = (int)$id; @@ -267,7 +267,7 @@ class HardwareModel extends Model_Map { } - public function associate($id_record) + public function associate($id_record = null, $idGroup = null) { return parent::associate((int)$id_record,(int)$this->id_user); } |