diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index ecff82031..b5a93cd87 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -561,7 +561,8 @@ class AdminProductsControllerCore extends AdminController $this->redirect_after = self::$currentIndex.'&conf=2&token='.$this->token.$category_url; } - $this->errors[] = Tools::displayError('An error occurred while deleting selection.'); + else + $this->errors[] = Tools::displayError('An error occurred while deleting selection.'); } } else