diff --git a/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php b/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php index 804d15b67af..48bb326cfe3 100644 --- a/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php +++ b/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php @@ -52,7 +52,7 @@ public function addActivityListsForActivityClass( $entities = []; } } - if ($itemsCount % static::BATCH_SIZE > 0) { + if ($itemsCount % self::BATCH_SIZE > 0) { $this->saveActivityLists($manager, $provider, $entities, $ownerField, $organizationField); } }