Skip to content

Commit add0399

Browse files
committed
fix(textareafield): wrong translatable string returned
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent aba36db commit add0399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/textareafield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function getHtmlIcon(): string {
256256
public function getTranslatableStrings()
257257
{
258258
$strings = parent::getTranslatableStrings();
259-
$strings['string'] = array_merge($strings['string'], array_values($this->getAvailableValues()));
259+
$strings['string'][] = $this->question->fields['default_values'];
260260
return $strings;
261261
}
262262
}

0 commit comments

Comments
 (0)