//typo
This commit is contained in:
1 parent
d2ff076eb1
commit
f82322e426
1 file changed
+1
-1
@@ -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')
|
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'))
|
&& !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))
|
if (count($total_errors))
|
||||||
|
|||||||
Reference in new issue
Block a user