File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
app/code/Magento/Review/Block Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,13 @@ public function getProductInfo()
158
158
*/
159
159
public function getAction ()
160
160
{
161
- return $ this ->getUrl ('review/product/post ' , ['id ' => $ this ->getProductId ()]);
161
+ return $ this ->getUrl (
162
+ 'review/product/post ' ,
163
+ [
164
+ '_secure ' => $ this ->_request ->isSecure (),
165
+ 'id ' => $ this ->getProductId (),
166
+ ]
167
+ );
162
168
}
163
169
164
170
/**
Original file line number Diff line number Diff line change @@ -66,7 +66,13 @@ public function getProductId()
66
66
*/
67
67
public function getProductReviewUrl ()
68
68
{
69
- return $ this ->getUrl ('review/product/listAjax ' , ['id ' => $ this ->getProductId ()]);
69
+ return $ this ->getUrl (
70
+ 'review/product/listAjax ' ,
71
+ [
72
+ '_secure ' => $ this ->_request ->isSecure (),
73
+ 'id ' => $ this ->getProductId (),
74
+ ]
75
+ );
70
76
}
71
77
72
78
/**
You can’t perform that action at this time.
0 commit comments