Skip to content

Commit d8e6e97

Browse files
authored
Update ExportLocalizations.php
1 parent bd44022 commit d8e6e97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Classes/ExportLocalizations.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,15 @@ public function toFlat($prefix = '.')
189189
}
190190

191191
// Pick only the first $json_strings
192-
if (! $default_json_strings)
192+
if (! $default_json_strings) {
193193
$default_json_strings = $json_strings;
194+
}
194195
}
195196
}
196197
}
197198

198199
// Create a JSON key value pair for the default language
199-
$default_key = $default_locale.$prefix. '__JSON__';
200+
$default_key = $default_locale.$prefix.'__JSON__';
200201
if (! array_key_exists($default_key, $results)) {
201202
$buffer = array_keys(
202203
get_object_vars($default_json_strings)

0 commit comments

Comments
 (0)