added more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
a020086128
commit
4b221d216e
15 changed files with 225 additions and 167 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue