From 9dc31dd41580378194ae056fa6d02e47fcb4d77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 11 Feb 2013 15:21:54 +0100 Subject: [PATCH] [-] FO: Fix product restriction by shop --- controllers/front/ProductController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index d7cfcb092..7cf4c929b 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -129,6 +129,7 @@ class ProductControllerCore extends FrontController header('Location: '.$this->context->link->getProductLink($this->product->id_product_redirected)); break; case '404': + default: header('HTTP/1.1 404 Not Found'); header('Status: 404 Not Found'); $this->errors[] = Tools::displayError('Product is no longer available.');