diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php index 0ae7ac385c..625ad95c3b 100644 --- a/application/Espo/Services/Record.php +++ b/application/Espo/Services/Record.php @@ -618,7 +618,7 @@ class Record extends \Espo\Core\Services\Base { } - protected function afterMassUpdate(array $idList, array $data) + protected function afterMassUpdate(array $idList, array $data = array()) { } @@ -997,7 +997,7 @@ class Record extends \Espo\Core\Services\Base } } - $this->afterMassUpdate($idsRemoved); + $this->afterMassRemove($idsRemoved); return array( 'count' => $count