From 7b9751769036c2f62fcb79886bc75f97b934514a Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Thu, 28 Sep 2017 10:39:08 +0200 Subject: [PATCH] fix extending save function --- modules/ant_alerthack/models/Suspect.php | 2 +- modules/ant_customgroup/models/CustomGroup.php | 2 +- modules/ant_supplierdemand/models/SupplierDemand.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ant_alerthack/models/Suspect.php b/modules/ant_alerthack/models/Suspect.php index 77db2c7d..fdde4ccc 100644 --- a/modules/ant_alerthack/models/Suspect.php +++ b/modules/ant_alerthack/models/Suspect.php @@ -103,7 +103,7 @@ class Suspect extends ObjectModel } } - public function save() + public function save($nullValues = false, $autodate = true) { if (parent::save()) { return true; diff --git a/modules/ant_customgroup/models/CustomGroup.php b/modules/ant_customgroup/models/CustomGroup.php index c68f1ae1..f85b5455 100644 --- a/modules/ant_customgroup/models/CustomGroup.php +++ b/modules/ant_customgroup/models/CustomGroup.php @@ -79,7 +79,7 @@ class CustomGroup extends ObjectModel '); } - public function save() + public function save($nullValues = false, $autodate = true) { if (parent::save()) { $return = true; diff --git a/modules/ant_supplierdemand/models/SupplierDemand.php b/modules/ant_supplierdemand/models/SupplierDemand.php index 4e977d75..3faa6760 100644 --- a/modules/ant_supplierdemand/models/SupplierDemand.php +++ b/modules/ant_supplierdemand/models/SupplierDemand.php @@ -123,7 +123,7 @@ class SupplierDemand extends ObjectModel } } - public function save() + public function save($nullValues = false, $autodate = true) { if (parent::save()) { return true;