Skip to content

Commit

Permalink
Merge pull request #35 from Talha7717/pdp-disable-fix
Browse files Browse the repository at this point in the history
Product Disable Fix on PDP
  • Loading branch information
AleksandrsKondratjevs authored Apr 4, 2024
2 parents 6fb6501 + c546b03 commit 08e3227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ protected function getCmsPageFromGraphqlArea(int $id = null, string $identifier
*/
protected function setNotFound(ActionInterface $action)
{
$action->setType('NOT_FOUND');
$action->setCode(404)->setPhrase('Not Found');
}

Expand Down

0 comments on commit 08e3227

Please sign in to comment.