From: Roland Häder Date: Tue, 20 Dec 2016 10:39:53 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e70b3b45df28bbed6429a28004270507f3508d7e;p=friendica.git Continued: - added curly braces + spaces - added todo about testing empty/non-empty strings Signed-off-by: Roland Häder --- diff --git a/mod/settings.php b/mod/settings.php index 14ef33fc86..97d4f5f603 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -824,8 +824,10 @@ function settings_content(App &$a) { $settings_connectors .= mini_group_select(local_user(), $default_group, t("Default group for OStatus contacts")); - if ($legacy_contact != "") + /// @TODO Found to much different usage to test empty/non-empty strings (e.g. empty(), trim() == '' ) which is wanted? + if ($legacy_contact != "") { $a->page['htmlhead'] = ''; + } $settings_connectors .= '
'; $settings_connectors .= '';