Ensure to not update the "self" contact
This commit is contained in:
parent
87cc17337b
commit
74a0bfc6da
|
@ -2205,7 +2205,7 @@ class Contact
|
|||
}
|
||||
}
|
||||
if (!empty($fields)) {
|
||||
DBA::update('contact', $fields, ['id' => $id]);
|
||||
DBA::update('contact', $fields, ['id' => $id, 'self' => false]);
|
||||
Logger::info('Updating local contact', ['id' => $id]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue