//PreProcess => PostProcess

This commit is contained in:
mDeflotte
2011-09-29 09:01:59 +00:00
parent f868e77a6e
commit 5d024dd47a
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