File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11# Release Notes for Craft Commerce
22
3+ ## 4.4.1.1 - 2024-01-12
4+
5+ - Fixed a PHP error that occurred when saving a sale. ([ #3364 ] ( https://github.com/craftcms/commerce/issues/3364 ) )
6+
37## 4.4.1 - 2024-01-12
48
59- Fixed a SQL error that could occur when updating to Commerce 4.4.0 on MySQL. ([ #3367 ] ( https://github.com/craftcms/commerce/issues/3367 ) )
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public function actionSave(): ?Response
142142 $ sale ->sortOrder = (int )$ this ->request ->getBodyParam ('sortOrder ' );
143143 $ sale ->ignorePrevious = (bool )$ this ->request ->getBodyParam ('ignorePrevious ' );
144144 $ sale ->stopProcessing = (bool )$ this ->request ->getBodyParam ('stopProcessing ' );
145- $ sale ->categoryRelationshipType = $ this ->request ->getBodyParam ('categoryRelationshipType ' );
145+ $ sale ->categoryRelationshipType = $ this ->request ->getBodyParam ('categoryRelationshipType ' , $ sale -> categoryRelationshipType );
146146
147147 $ applyAmount = Localization::normalizeNumber ($ applyAmount );
148148 if ($ sale ->apply == SaleRecord::APPLY_BY_PERCENT || $ sale ->apply == SaleRecord::APPLY_TO_PERCENT ) {
You can’t perform that action at this time.
0 commit comments