diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php index 56267ef67..865c856c9 100644 --- a/modules/blockcategories/blockcategories.php +++ b/modules/blockcategories/blockcategories.php @@ -173,7 +173,7 @@ class BlockCategories extends Module { if (file_exists(_PS_CAT_IMG_DIR_.(int)Tools::getValue('id_category').'-'.(int)$id_thumb.'_thumb.jpg') && !unlink(_PS_CAT_IMG_DIR_.(int)Tools::getValue('id_category').'-'.(int)$id_thumb.'_thumb.jpg')) - $this->context->controller->errors[] = Tools::displayError('Error while delet'); + $this->context->controller->errors[] = Tools::displayError('Error while delete'); } if (count($total_errors))