Ensure to not update the "self" contact
This commit is contained in:
parent
87cc17337b
commit
74a0bfc6da
1 changed files with 1 additions and 1 deletions
|
@ -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