diff --git a/application/controllers/Attributes.php b/application/controllers/Attributes.php index ee2fd3e90..b6e50ed22 100644 --- a/application/controllers/Attributes.php +++ b/application/controllers/Attributes.php @@ -105,7 +105,7 @@ class Attributes extends Secure_Controller } else//failure { - echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attribute_definitions_error_adding_updating').' '. + echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attribute_definition_error_adding_updating').' Attribute: '. $definition_name, 'id' => -1)); } } @@ -179,4 +179,4 @@ class Attributes extends Secure_Controller } } -} \ No newline at end of file +}