diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php b/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php index 14b6ccbc7f1..e5b5d880fc5 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php @@ -1457,7 +1457,7 @@ public function repairBrokenUrlAliasesForLocation(int $locationId) $updateQueryBuilder->execute(); } catch (UniqueConstraintViolationException $e) { // edge case: if such row already exists, there's no way to restore history - $this->deleteRow($urlAliasData['parent'], $urlAliasData['text_md5']); + $this->deleteRow((int) $urlAliasData['parent'], $urlAliasData['text_md5']); } } }