diff --git a/admin-dev/themes/default/template/helpers/list/list_action_default.tpl b/admin-dev/themes/default/template/helpers/list/list_action_default.tpl
index ebd0ac3ce..c59ad102d 100644
--- a/admin-dev/themes/default/template/helpers/list/list_action_default.tpl
+++ b/admin-dev/themes/default/template/helpers/list/list_action_default.tpl
@@ -23,6 +23,6 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
-
+
\ No newline at end of file
diff --git a/classes/helper/HelperList.php b/classes/helper/HelperList.php
index f43f99b15..1533330aa 100644
--- a/classes/helper/HelperList.php
+++ b/classes/helper/HelperList.php
@@ -479,7 +479,7 @@ class HelperListCore extends Helper
self::$cache_lang['Default'] = $this->l('Default', 'Helper');
$tpl->assign(array_merge($this->tpl_delete_link_vars, array(
- 'href' => Tools::safeOutput($this->currentIndex.'&'.$this->identifier.'='.$id.'&delete'.$this->table.'&token='.($token != null ? $token : $this->token)),
+ 'href' => Tools::safeOutput($this->currentIndex).'&'.Tools::safeOutput($this->identifier).'='.(int)$id.'&delete'.Tools::safeOutput($this->table).'&token='.Tools::safeOutput(($token != null ? $token : $this->token)),
'action' => self::$cache_lang['Default'],
'name' => Tools::safeOutput($name),
)));