Commit c921514f authored by matthieu-rolland's avatar matthieu-rolland
Browse files

do not check shopId

parent 4d01a6f0
......@@ -294,7 +294,7 @@ final class ContextStateManager
$shop = $this->contextFieldsStack[$currentStashIndex]['shop'];
$shopId = $shop instanceof Shop ? $shop->id : null;
$shopContext = $this->contextFieldsStack[$currentStashIndex]['shopContext'];
if (null !== $shopContext && null !== $shopId) {
if (null !== $shopContext) {
Shop::setContext($shopContext, $shopId);
}
unset($this->contextFieldsStack[$currentStashIndex]['shopContext']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment