diff --git a/Changelog.txt b/Changelog.txt index d91ba59..f724408 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -11,7 +11,8 @@ found at: === Changes made since last versioned release === -(none) +- [2024.07.02; Bug-fix; Maikuolan]: 3-digit and script-based codes not + recognised by arrayFromL10nToArray; Fixed. === Version/Release 2.12.1 === PATCH RELEASE. diff --git a/src/L10N.php b/src/L10N.php index 36c49c4..a89d8d1 100644 --- a/src/L10N.php +++ b/src/L10N.php @@ -1,6 +1,6 @@ $Value) { if (is_array($Value)) { $Value = $this->PreferredVariant !== '' && isset($Value[$this->PreferredVariant]) ? $Value[$this->PreferredVariant] : array_shift($Value);