diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index bf13c1040..c49b21642 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -553,7 +553,17 @@ class AdminAttributesGroupsControllerCore extends AdminController case 'editAttributes': if ($this->id_attribute) - $bread_extended[] = $this->l('Edit Value'); + { + if (($id = Tools::getValue('id_attribute_group'))) + { + if (Validate::isLoadedObject($obj = new AttributeGroup((int)$id))) + $bread_extended[] = ''.$obj->name[$this->context->employee->id_lang].''; + if (Validate::isLoadedObject($obj = new Attribute((int)$this->id_attribute))) + $bread_extended[] = sprintf($this->l('Edit: %s'), $obj->name[$this->context->employee->id_lang]); + } + else + $bread_extended[] = $this->l('Edit Value'); + } else $bread_extended[] = $this->l('Add New Values'); break;