Ensure to not update the "self" contact

This commit is contained in:
Michael 2021-07-04 12:38:35 +00:00
parent 87cc17337b
commit 74a0bfc6da

View file

@ -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]);
}
}