X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=fe3b362317f86e38617e3e53e8cc52a2c8656d68;hb=ced4911c4ab268c9e502a3c3e1aa43ebda837044;hp=459a1c5e75a73fc1e0030933fe2d051499b6d0f9;hpb=53e9203d37ee0c1a2afed0faf295e3c622ac2e17;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 459a1c5e75..fe3b362317 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -216,7 +216,7 @@ function profiles_post(App $a) { } else { $ignore_year = false; } - if (!in_array($dob, ['0000-00-00', '0001-01-01'])) { + if (!in_array($dob, ['0000-00-00', DBA::NULL_DATE])) { if (strpos($dob, '0000-') === 0 || strpos($dob, '0001-') === 0) { $ignore_year = true; $dob = substr($dob, 5);