From b09ab4ef2ce9a9b55e4763418b3358aefe2307fc Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 4 Dec 2010 00:38:34 -0800 Subject: [PATCH] "with" is optional - don't show anything if not present. --- view/en/profile_advanced.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;