From d8a82d362bd0da1b870f4718db3183dabdd11787 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 8 May 2014 21:53:15 +0000 Subject: fixed some Strict notices and a Swiftmailer bug (notice) --- h-source/Application/Models/WikiModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Models/WikiModel.php') 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); } -- cgit v1.2.3