mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 19:58:51 +00:00
Merge pull request #3313 from nickvergessen/ticket/13528
[ticket/13528] Return correct translation instead of is_set() * nickvergessen/ticket/13528: [ticket/13528] Return correct translation instead of is_set()
This commit is contained in:
commit
f8c3440344
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class type_bool extends type_base
|
||||||
}
|
}
|
||||||
else
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue