// fix php warning

This commit is contained in:
Rémi Gaillard
2013-01-14 14:12:14 +01:00
parent f496b844db
commit c2261cc7fc
+1 -1
View File
@@ -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']))