diff --git a/src/PeskyCMF/Config/helpers.php b/src/PeskyCMF/Config/helpers.php
index <HASH>..<HASH> 100644
--- a/src/PeskyCMF/Config/helpers.php
+++ b/src/PeskyCMF/Config/helpers.php
@@ -751,7 +751,7 @@ if (!function_exists('pickLocalizationFromJson')) {
      */
     function pickLocalizationFromJson($translationsJson, $default = null, $isAssociativeArray = true) {
         $translations = json_decode($translationsJson, true);
-        return pickLocalization($translations, $default, $isAssociativeArray);
+        return is_array($translations) ? $default : pickLocalization($translations, $default, $isAssociativeArray);
     }
 
 }
helpers - fixed crash in pickLocalizationFromJson()