Skip to content

Commit

Permalink
Merge pull request #396 from e-piksel/master
Browse files Browse the repository at this point in the history
fixed error_custom_field_value
  • Loading branch information
danielkerr committed Jan 28, 2013
2 parents 141ab88 + a8ed041 commit fea320d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/sale/custom_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ protected function validateForm() {
foreach ($this->request->post['custom_field_value'] as $custom_field_value_id => $custom_field_value) {
foreach ($custom_field_value['custom_field_value_description'] as $language_id => $custom_field_value_description) {
if ((utf8_strlen($custom_field_value_description['name']) < 1) || (utf8_strlen($custom_field_value_description['name']) > 128)) {
$this->error['custom_field_value'][$custom_field_value_id][$language_id] = $this->language->get('error_custom_field_value');
$this->error['custom_field_value'][$custom_field_value_id][$language_id] = $this->language->get('error_custom_value');
}
}
}
Expand Down

0 comments on commit fea320d

Please sign in to comment.