1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 01:04:16 +02:00
This commit is contained in:
Ryan Cramer
2021-12-15 13:49:02 -05:00
parent fa98695f4e
commit 697158d653

View File

@@ -346,7 +346,9 @@ class InputfieldTextTags extends Inputfield implements
$key = $this->languageKey($language, 'tagsList');
if($key !== 'tagsList') {
$langTags = parent::get($key); /** @var array $langTags */
$tags = array_merge($tags, $langTags);
foreach($langTags as $key => $value) {
$tags[$key] = $value;
}
}
}
if(!$getArray) return $this->tagsListArrayToString($tags);