// Normalize

This commit is contained in:
rMalie
2012-01-25 14:40:12 +00:00
parent 8db038f0e8
commit ccbf3acc8d
21 changed files with 202 additions and 206 deletions
+1 -1
View File
@@ -662,7 +662,7 @@ class ProductCore extends ObjectModel
return false;
if ($id = ProductDownload::getIdFromIdProduct($this->id))
if ($product_download = new ProductDownload($id) && !$product_download->delete(true))
if (($product_download = new ProductDownload($id)) && !$product_download->delete(true))
return false;
return true;