We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd44022 commit d8e6e97Copy full SHA for d8e6e97
src/Classes/ExportLocalizations.php
@@ -189,14 +189,15 @@ public function toFlat($prefix = '.')
189
}
190
191
// Pick only the first $json_strings
192
- if (! $default_json_strings)
+ if (! $default_json_strings) {
193
$default_json_strings = $json_strings;
194
+ }
195
196
197
198
199
// Create a JSON key value pair for the default language
- $default_key = $default_locale.$prefix. '__JSON__';
200
+ $default_key = $default_locale.$prefix.'__JSON__';
201
if (! array_key_exists($default_key, $results)) {
202
$buffer = array_keys(
203
get_object_vars($default_json_strings)
0 commit comments