Skip to content

Commit

Permalink
Update CatalogBreadcrumbTrait.php (#3191)
Browse files Browse the repository at this point in the history
Replace folder by category in LogicException
  • Loading branch information
Elyos59 authored and anoziere committed Apr 28, 2024
1 parent 652b8a7 commit eb7d6a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getBaseBreadcrumb(Router $router, $categoryId)
if (\in_array($currentId, $ids)) {
throw new \LogicException(
sprintf(
'Circular reference detected in folder ID=%d hierarchy (folder ID=%d appears more than one times in path)',
'Circular reference detected in category ID=%d hierarchy (category ID=%d appears more than one times in path)',
$categoryId,
$currentId
)
Expand Down

0 comments on commit eb7d6a6

Please sign in to comment.