kopia lustrzana https://github.com/friendica/friendica
Ensure to not update the "self" contact
rodzic
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]);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue