Ensure to not update the "self" contact

pull/10465/head
Michael 2021-07-04 12:38:35 +00:00
rodzic 87cc17337b
commit 74a0bfc6da
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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