Skip to content

Commit

Permalink
Fix type cast error in DoctrineStorage.php (#27)
Browse files Browse the repository at this point in the history
Ibexa Adminui throws an error when defining external links. An explicit type cast solves the problem.
  • Loading branch information
dfritschy authored Sep 29, 2023
1 parent d9ba84e commit 05a09f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FieldType/UrlStorage/Gateway/DoctrineStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function getUrlIdMap(array $urls): array
$statement = $query->execute();

foreach ($statement->fetchAllAssociative() as $row) {
$map[$row['url']] = $row['id'];
$map[$row['url']] = (int)$row['id'];
}
}

Expand Down

0 comments on commit 05a09f7

Please sign in to comment.