]> git.mxchange.org Git - friendica.git/blobdiff - include/network.php
Merge pull request #3792 from annando/dead-contacts
[friendica.git] / include / network.php
index 3e01b53e053458a7cad1fa2e79e88c925ba6be81..11a0fffbe671a827c3e524e10ed0bc7b76def26c 100644 (file)
@@ -740,7 +740,10 @@ function fix_contact_ssl_policy(&$contact,$new_policy) {
        }
 
        if ($ssl_changed) {
-               dba::update('contact', $contact, array('id' => $contact['id']));
+               $fields = array('url' => $contact['url'], 'request' => $contact['request'],
+                               'notify' => $contact['notify'], 'poll' => $contact['poll'],
+                               'confirm' => $contact['confirm'], 'poco' => $contact['poco']);
+               dba::update('contact', $fields, array('id' => $contact['id']));
        }
 }