//PreProcess => PostProcess

This commit is contained in:
mDeflotte committed 2011-09-29 09:01:59 +00:00
1 parent f868e77a6e
commit 5d024dd47a
3 files changed
+16 -12

No files matched your search

+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