//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:
mDeflotte
2011-09-29 09:01:59 +00:00
parent 5f02dc0d0e
commit e689f575dd
3 changed files with 16 additions and 12 deletions
+1 -8
View File
@@ -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