Skip to content

Commit

Permalink
Fixed #3833
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 2, 2025
1 parent 7e05583 commit eae0bb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Craft Commerce

## Unreleased

- Fixed an error that occurred when rendering a Link field with a product selected on the front end. ([#3833](https://github.com/craftcms/commerce/issues/3833))

## 5.2.10 - 2024-12-18

- Fixed a PHP error that could occur when eager-loading variants’ owners. ([#3817](https://github.com/craftcms/commerce/issues/3817))
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ public function init(): void
$this->_registerGqlQueries();
$this->_registerGqlComponents();
$this->_registerGqlEagerLoadableFields();
$this->_registerLinkTypes();
$this->_registerCacheTypes();
$this->_registerGarbageCollection();

Expand All @@ -314,7 +315,6 @@ public function init(): void
$this->_registerWidgets();
$this->_registerElementExports();
$this->_defineFieldLayoutElements();
$this->_registerLinkTypes();
$this->_registerRedactorLinkOptions();
$this->_registerCKEditorLinkOptions();
} else {
Expand Down

0 comments on commit eae0bb8

Please sign in to comment.