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.
2 parents 034f569 + 4b36fb9 commit fd952ddCopy full SHA for fd952dd
src/Classes/ExportLocalizations.php
@@ -200,7 +200,7 @@ public function toFlat($prefix = '.')
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)
+ $default_json_strings ? get_object_vars($default_json_strings) : []
204
);
205
206
$results[$default_key] = array_combine($buffer, $buffer);
0 commit comments