aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/profile_advanced.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/profile_advanced.php b/view/profile_advanced.php
index 73a155409..098143381 100644
--- a/view/profile_advanced.php
+++ b/view/profile_advanced.php
@@ -29,7 +29,7 @@ $o .= <<< EOT
EOT;
}
-if($a->profile['dob']) {
+if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00 00:00:00')) {
$o .= <<< EOT
<div id="advanced-profile-dob-wrapper" >
<div id="advanced-profile-dob-text">Birthday:</div>