diff --git a/src/Oro/Bundle/CheckoutBundle/EventListener/CustomerUserListener.php b/src/Oro/Bundle/CheckoutBundle/EventListener/CustomerUserListener.php index 50230a2908..47cc01f208 100644 --- a/src/Oro/Bundle/CheckoutBundle/EventListener/CustomerUserListener.php +++ b/src/Oro/Bundle/CheckoutBundle/EventListener/CustomerUserListener.php @@ -90,7 +90,7 @@ private function getFromRequest($name) { $request = $this->requestStack->getMasterRequest(); - return $request->request->get($name); + return $request ? $request->request->get($name) : null; } /**