Urgent bugfix: Public contacts had been blocked automatically when created
This commit is contained in:
parent
fbe1206f35
commit
bce3b6f896
1 changed files with 1 additions and 0 deletions
|
@ -447,6 +447,7 @@ class Probe
|
||||||
// When the contact doesn't exist, the value "true" will trigger an insert
|
// When the contact doesn't exist, the value "true" will trigger an insert
|
||||||
if (!$old_fields) {
|
if (!$old_fields) {
|
||||||
$old_fields = true;
|
$old_fields = true;
|
||||||
|
$fields['blocked'] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
dba::update('contact', $fields, $condition, $old_fields);
|
dba::update('contact', $fields, $condition, $old_fields);
|
||||||
|
|
Loading…
Reference in a new issue