Skip to content

Commit

Permalink
fix(checkboxesfield): use correct translation input type
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Feb 15, 2021
1 parent d8b4948 commit 50a7982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/field/checkboxesfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ public function getTranslatableStrings(array $options = []) : array {
if ($options['id'] != '' && $id != $options['id']) {
continue;
}
$strings['text'][$id] = $value;
$strings['id'][$id] = 'text';
$strings['string'][$id] = $value;
$strings['id'][$id] = 'string';

}
return $strings;
Expand Down

0 comments on commit 50a7982

Please sign in to comment.