From: Michael Date: Mon, 4 Dec 2017 19:37:36 +0000 (+0000) Subject: Only a newline X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a206f6d832a24aa58ebc90115537005a084aacaa;p=friendica.git Only a newline --- diff --git a/src/Object/Contact.php b/src/Object/Contact.php index f0299603ec..bd7cee7fbe 100644 --- a/src/Object/Contact.php +++ b/src/Object/Contact.php @@ -145,6 +145,7 @@ class Contact extends BaseObject if ($contact['archive']) { return; } + if ($contact['term-date'] <= NULL_DATE) { dba::update('contact', array('term-date' => datetime_convert()), array('id' => $contact['id']));