diff --git a/classes/helper/HelperList.php b/classes/helper/HelperList.php index 142fd1214..c7d6ca626 100644 --- a/classes/helper/HelperList.php +++ b/classes/helper/HelperList.php @@ -530,7 +530,7 @@ class HelperListCore extends Helper if ($this->position_identifier && ($this->orderBy == 'position' && $this->orderWay != 'DESC')) $table_dnd = true; - $prefix = str_replace(array('admin', 'controller'), '', Tools::strtolower($this->controller_name)); + $prefix = isset($this->controller_name) ? str_replace(array('admin', 'controller'), '', Tools::strtolower($this->controller_name)) : ''; foreach ($this->fields_list as $key => $params) { if (!isset($params['type']))