Skip to content

Commit

Permalink
Added missing cast to int for eZ/Publish/Core/Persistence/Legacy/Cont…
Browse files Browse the repository at this point in the history
…ent/UrlAlias/Gateway/DoctrineDatabase (#3091)
  • Loading branch information
mateuszbieniek authored Aug 27, 2021
1 parent d5a73ab commit 5064cde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}
}
Expand Down

0 comments on commit 5064cde

Please # to comment.