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=5f41375ad35006e17ed60513b1581a593b59d233;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 2998b5dfac..b4546d8bff 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -824,8 +824,10 @@ function settings_content(&$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 .= '';