From: Friendika Date: Sat, 4 Dec 2010 08:38:34 +0000 (-0800) Subject: "with" is optional - don't show anything if not present. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b09ab4ef2ce9a9b55e4763418b3358aefe2307fc;p=friendica.git "with" is optional - don't show anything if not present. --- diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index c736448e58..7e2036890b 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -62,7 +62,11 @@ $o .= <<< EOT
Status:
{$a->profile['marital']}
-
({$a->profile['with']})
+EOT; + +if($a->profile['with']) + $o .= "
({$a->profile['with']})
"; +$o .= <<< EOT
EOT;