fix default birthday

This commit is contained in:
Mike Macgirvin 2010-08-27 17:02:49 -07:00
parent 99a903ed66
commit 1ddb91a5a1

View file

@ -29,7 +29,7 @@ $o .= <<< EOT
EOT; EOT;
} }
if($a->profile['dob']) { if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00 00:00:00')) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-dob-wrapper" > <div id="advanced-profile-dob-wrapper" >
<div id="advanced-profile-dob-text">Birthday:</div> <div id="advanced-profile-dob-text">Birthday:</div>