]> git.mxchange.org Git - friendica.git/commitdiff
Urgent bugfix: Public contacts had been blocked automatically when created
authorMichael <heluecht@pirati.ca>
Thu, 3 May 2018 17:43:10 +0000 (17:43 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 3 May 2018 17:43:10 +0000 (17:43 +0000)
src/Network/Probe.php

index 6e7e21d1e90c36ac04d6587a63230813c29c7840..569e57381e5e9bb96af186b4ab7fc8fc4c3e1848 100644 (file)
@@ -447,6 +447,7 @@ class Probe
                                // When the contact doesn't exist, the value "true" will trigger an insert
                                if (!$old_fields) {
                                        $old_fields = true;
+                                       $fields['blocked'] = false;
                                }
 
                                dba::update('contact', $fields, $condition, $old_fields);