sforkowany z mirror/friendica
is empty check
rodzic
534f79a5a5
commit
c6137ca0df
|
@ -656,7 +656,7 @@ function advanced_profile(App $a) {
|
|||
$profile['birthday'] = array( t('Birthday:'), $val);
|
||||
|
||||
}
|
||||
if ($a->profile['dob']
|
||||
if (!empty($a->profile['dob'])
|
||||
&& $a->profile['dob'] > '0001-01-01'
|
||||
&& $age = age($a->profile['dob'], $a->profile['timezone'], '')
|
||||
) {
|
||||
|
|
Ładowanie…
Reference in New Issue