Skip to content

Commit

Permalink
ENGCOM-2133: Login with wishlist raise report after logout. #16386
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirZaets authored Jul 2, 2018
2 parents ee87089 + ed30c78 commit efcc26b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function aroundExecute(FlushFormKey $subject, callable $proceed, ...$args
$currentFormKey = $this->dataFormKey->getFormKey();
$proceed(...$args);
$beforeParams = $this->session->getBeforeRequestParams();
if ($beforeParams['form_key'] == $currentFormKey) {
if (isset($beforeParams['form_key']) && $beforeParams['form_key'] === $currentFormKey) {
$beforeParams['form_key'] = $this->dataFormKey->getFormKey();
$this->session->setBeforeRequestParams($beforeParams);
}
Expand Down

0 comments on commit efcc26b

Please sign in to comment.