File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Customer/Model Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function beforeExecute(ActionInterface $subject)
48
48
{
49
49
$ this ->httpContext ->setValue (
50
50
Context::CONTEXT_GROUP ,
51
- $ this ->customerSession ->getCustomerGroupId (),
51
+ ( string ) $ this ->customerSession ->getCustomerGroupId (),
52
52
GroupManagement::NOT_LOGGED_IN_ID
53
53
);
54
54
$ this ->httpContext ->setValue (
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ public function setCustomerData(CustomerData $customer)
211
211
} else {
212
212
$ this ->_httpContext ->setValue (
213
213
Context::CONTEXT_GROUP ,
214
- $ customer ->getGroupId (),
214
+ ( string ) $ customer ->getGroupId (),
215
215
\Magento \Customer \Model \Group::NOT_LOGGED_IN_ID
216
216
);
217
217
$ this ->setCustomerId ($ customer ->getId ());
@@ -271,7 +271,7 @@ public function setCustomer(Customer $customerModel)
271
271
$ this ->_customerModel = $ customerModel ;
272
272
$ this ->_httpContext ->setValue (
273
273
Context::CONTEXT_GROUP ,
274
- $ customerModel ->getGroupId (),
274
+ ( string ) $ customerModel ->getGroupId (),
275
275
\Magento \Customer \Model \Group::NOT_LOGGED_IN_ID
276
276
);
277
277
$ this ->setCustomerId ($ customerModel ->getId ());
You can’t perform that action at this time.
0 commit comments