Merge pull request #4974 from annando/fix-blocked-contacts
Ugly bugfix: Public contacts had been blocked automatically when created
This commit is contained in:
commit
4158dcccaf
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