@@ -115,7 +115,7 @@ |
||
115 | 115 | $this->substituteOrder = $substituteOrder; |
116 | 116 | |
117 | 117 | // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions |
118 | - if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
118 | + if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
119 | 119 | $request = $this->getRequest(); |
120 | 120 | if ($request instanceof Http && $request->isPost()) { |
121 | 121 | $request->setParam('ajax', true); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $this->databaseHelper = $databaseHelper; |
76 | 76 | |
77 | 77 | // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions |
78 | - if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
78 | + if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
79 | 79 | $request = $this->getRequest(); |
80 | 80 | if ($request instanceof Http && $request->isPost()) { |
81 | 81 | $request->setParam('ajax', true); |