X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/09b2510219e97203ad17aa2250ea8351dff06b23..b14ce959d9532f192b748b12f6c71f23a9c1a60b:/lib-php/migration/PhraseSettingsToJson.php diff --git a/lib-php/migration/PhraseSettingsToJson.php b/lib-php/migration/PhraseSettingsToJson.php index 15c49f0a..ac6e6213 100644 --- a/lib-php/migration/PhraseSettingsToJson.php +++ b/lib-php/migration/PhraseSettingsToJson.php @@ -8,10 +8,12 @@ if (file_exists($phpPhraseSettingsFile) && !file_exists($jsonPhraseSettingsFile) $data = array(); - if (isset($aTagsBlacklist)) + if (isset($aTagsBlacklist)) { $data['blackList'] = $aTagsBlacklist; - if (isset($aTagsWhitelist)) + } + if (isset($aTagsWhitelist)) { $data['whiteList'] = $aTagsWhitelist; + } $jsonFile = fopen($jsonPhraseSettingsFile, 'w'); fwrite($jsonFile, json_encode($data));