added more curly braces + space between "if" and brace

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 17:43:46 +01:00
commit 4b221d216e
15 changed files with 225 additions and 167 deletions

View file

@ -1170,13 +1170,14 @@ function settings_content(App &$a) {
));
}
if(strlen(get_config('system','directory'))) {
if (strlen(get_config('system','directory'))) {
$profile_in_net_dir = replace_macros($opt_tpl,array(
'$field' => array('profile_in_netdirectory', t('Publish your default profile in the global social directory?'), $profile['net-publish'], '', array(t('No'),t('Yes'))),
));
}
else
else {
$profile_in_net_dir = '';
}
$hide_friends = replace_macros($opt_tpl,array(