"dob" is not a date field, so the changes are reverted

This commit is contained in:
Michael 2017-03-18 08:50:27 +00:00
parent e301fa0832
commit a2a171af06
5 changed files with 10 additions and 10 deletions

View file

@ -1094,7 +1094,7 @@ class dfrn {
return 3;
}
if($contact['term-date'] != '0000-00-00 00:00:00') {
if($contact['term-date'] > NULL_DATE) {
logger("dfrn_deliver: $url back from the dead - removing mark for death");
require_once('include/Contact.php');
unmark_for_death($contact);