Urgent bugfix: Public contacts had been blocked automatically when created

This commit is contained in:
Michael 2018-05-03 17:43:10 +00:00
parent fbe1206f35
commit bce3b6f896
1 changed files with 1 additions and 0 deletions

View 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);