This commit is contained in:
gRoussac
2013-08-06 11:38:34 +02:00
parent 084880abda
commit 6449437f58
+1 -2
View File
@@ -158,8 +158,7 @@ class ProductControllerCore extends FrontController
$this->category = new Category($regs[5], (int)$this->context->cookie->id_lang);
}
}
if ( ! isset($this->category))
// Set default product category
if (!isset($this->category))
$this->category = new Category($this->product->id_category_default, (int)$this->context->cookie->id_lang);
}
}