Merge pull request #4975 from annando/fix-blocked-contacts

"pending" shouldn't be set as well by default ...
This commit is contained in:
Hypolite Petovan 2018-05-03 14:22:50 -04:00 committed by GitHub
commit 89cf2ea186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -448,6 +448,7 @@ class Probe
if (!$old_fields) {
$old_fields = true;
$fields['blocked'] = false;
$fields['pending'] = false;
}
dba::update('contact', $fields, $condition, $old_fields);