1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 15:53:14 +02:00

[ticket/13528] Return correct translation instead of is_set()

PHPBB3-13528
This commit is contained in:
Joas Schilling 2015-01-20 22:56:33 +01:00
parent f02dc44a23
commit d1bff80dd1

View File

@ -173,7 +173,7 @@ class type_bool extends type_base
}
else
{
return $this->lang_helper->is_set($field_id, $lang_id, $field_value + 1);
return $this->lang_helper->is_set($field_id, $lang_id, $field_value + 1) ? $this->lang_helper->get($field_id, $lang_id, $field_value + 1) : null;
}
}