// Refactoring of shop class with new context Part 2
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7617 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -51,7 +51,7 @@ class CategoryControllerCore extends FrontController
|
||||
public function preProcess()
|
||||
{
|
||||
if ($id_category = (int)Tools::getValue('id_category'))
|
||||
$this->category = new Category($id_category, self::$cookie->id_lang, (int)$this->id_current_shop);
|
||||
$this->category = new Category($id_category, self::$cookie->id_lang);
|
||||
if (!Validate::isLoadedObject($this->category))
|
||||
{
|
||||
header('HTTP/1.1 404 Not Found');
|
||||
|
||||
Reference in New Issue
Block a user