mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 08:44:46 +02:00
Fix issue processwire/processwire-issues#1485
This commit is contained in:
@@ -346,7 +346,9 @@ class InputfieldTextTags extends Inputfield implements
|
|||||||
$key = $this->languageKey($language, 'tagsList');
|
$key = $this->languageKey($language, 'tagsList');
|
||||||
if($key !== 'tagsList') {
|
if($key !== 'tagsList') {
|
||||||
$langTags = parent::get($key); /** @var array $langTags */
|
$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);
|
if(!$getArray) return $this->tagsListArrayToString($tags);
|
||||||
|
Reference in New Issue
Block a user