diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php index 76ca0ae9ec..30e9f6f7bb 100644 --- a/application/Espo/Services/Record.php +++ b/application/Espo/Services/Record.php @@ -1023,12 +1023,12 @@ class Record extends \Espo\Core\Services\Base return $this->getStreamService()->unfollowEntity($entity, $userId); } - protected function getDuplicateWhereClause(Entity $entity, $data) + protected function getDuplicateWhereClause(Entity $entity, $data = array()) { return false; } - public function checkEntityForDuplicate(Entity $entity, $data) + public function checkEntityForDuplicate(Entity $entity, $data = array()) { $where = $this->getDuplicateWhereClause($entity, $data);