We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5516649 commit 4be563bCopy full SHA for 4be563b
app/code/Magento/Review/Controller/Product/ListAjax.php
@@ -22,8 +22,10 @@ class ListAjax extends ProductController implements HttpGetActionInterface
22
*/
23
public function execute()
24
{
25
- if (!$this->getRequest()->isAjax()
26
- || !$this->initProduct()) {
+ if (
+ !$this->getRequest()->isAjax() ||
27
+ !$this->initProduct()
28
+ ) {
29
/** @var \Magento\Framework\Controller\Result\Forward $resultForward */
30
$resultForward = $this->resultFactory->create(ResultFactory::TYPE_FORWARD);
31
return $resultForward->forward('noroute');
0 commit comments