aboutsummaryrefslogtreecommitdiffstats
path: root/view/en/profile_advanced.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/en/profile_advanced.php')
-rw-r--r--view/en/profile_advanced.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php
index c736448e5..7e2036890 100644
--- a/view/en/profile_advanced.php
+++ b/view/en/profile_advanced.php
@@ -62,7 +62,11 @@ $o .= <<< EOT
<div id="advanced-profile-marital-wrapper" >
<div id="advanced-profile-marital-text"><span class="heart">&hearts;</span> Status:</div>
<div id="advanced-profile-marital">{$a->profile['marital']}</div>
-<div id="advanced-profile-with">({$a->profile['with']})</div>
+EOT;
+
+if($a->profile['with'])
+ $o .= "<div id=\"advanced-profile-with\">({$a->profile['with']})</div>";
+$o .= <<< EOT
</div>
<div id="advanced-profile-marital-end"></div>
EOT;