diff --git a/src/Model/Entity/Agreement.php b/src/Model/Entity/Agreement.php index 71c1b127a64a6eb689d338cff216f93e7e940a5b..b90611d66c8e2537fdc0efce321141e5191392a2 100644 --- a/src/Model/Entity/Agreement.php +++ b/src/Model/Entity/Agreement.php @@ -114,7 +114,7 @@ class Agreement extends Entity return true; } $Agreements = TableRegistry::getTableLocator()->get('Agreements'); - $has = ['Archives']; + $has = ['Archives', 'Transfers']; foreach ($has as $modelName) { /** @var HasMany $assoc */ $assoc = $Agreements->{$modelName};