From: irhen Date: Mon, 10 Jul 2017 11:17:06 +0000 (+0300) Subject: is empty check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6137ca0dfe3b132feb8bbee1624376011837e86;p=friendica.git is empty check --- diff --git a/include/identity.php b/include/identity.php index 66f7f569f9..5de5c919dc 100644 --- a/include/identity.php +++ b/include/identity.php @@ -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'], '') ) {