$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));