[-] FO : fixed bug #PSCFV-4336

This commit is contained in:
vAugagneur
2012-09-24 14:27:16 +00:00
parent 1f1a651b7d
commit f11c978575
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ class ProductControllerCore extends FrontController
$this->textRecord();
$this->formTargetFormat();
}
else if (Tools::getIsset('deletePicture') && !$this->context->cart->deletePictureToProduct($this->product->id, Tools::getValue('deletePicture')))
else if (Tools::getIsset('deletePicture') && !$this->context->cart->deleteCustomizationToProduct($this->product->id, Tools::getValue('deletePicture')))
$this->errors[] = Tools::displayError('An error occurred while deleting the selected picture');
$files = $this->context->cart->getProductCustomization($this->product->id, Product::CUSTOMIZE_FILE, true);