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 6e7e21d..569e573 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);