[-] FO: Fix product restriction by shop

This commit is contained in:
Rémi Gaillard committed 2013-02-11 15:21:54 +01:00
1 parent 069814051d
commit 9dc31dd415
1 file changed
+1
+1
View File
@@ -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.');