//PreProcess => PostProcess
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8866 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -79,14 +79,7 @@ class ProductControllerCore extends FrontController
|
||||
$this->product->quantity = 0;
|
||||
|
||||
$this->product->description = $this->transformDescriptionWithImg($this->product->description);
|
||||
}
|
||||
|
||||
/**
|
||||
* Start forms process
|
||||
* @see FrontController::preProcess()
|
||||
*/
|
||||
public function preProcess()
|
||||
{
|
||||
|
||||
if (!Validate::isLoadedObject($this->product))
|
||||
$this->errors[] = Tools::displayError('Product not found');
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user