diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2014-05-08 21:53:15 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2014-05-08 21:53:15 +0000 |
commit | d8a82d362bd0da1b870f4718db3183dabdd11787 (patch) | |
tree | d774b5d0c86f81242bc14596cda3ae1eeb9ed958 /h-source/Application/Models | |
parent | af80b967213a02fc9cd39dbddbdb2ac582b00200 (diff) |
fixed some Strict notices and a Swiftmailer bug (notice)
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 4 | ||||
-rw-r--r-- | h-source/Application/Models/WikiModel.php | 4 |
2 files changed, 4 insertions, 4 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); } diff --git a/h-source/Application/Models/WikiModel.php b/h-source/Application/Models/WikiModel.php index 7357705..6dc9fd1 100644 --- a/h-source/Application/Models/WikiModel.php +++ b/h-source/Application/Models/WikiModel.php @@ -110,7 +110,7 @@ class WikiModel extends Model_Map { } - public function update($id) + public function update($id = null, $where = null) { $clean['id'] = (int)$id; @@ -217,7 +217,7 @@ class WikiModel 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); } |