mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
friends not being correctly unmarked for death after contact resumed
This commit is contained in:
parent
68004fc962
commit
22429cd432
2 changed files with 5 additions and 3 deletions
|
@ -46,7 +46,7 @@ function mark_for_death($contact) {
|
|||
if(! function_exists('unmark_for_death')) {
|
||||
function unmark_for_death($contact) {
|
||||
// It's a miracle. Our dead contact has inexplicably come back to life.
|
||||
q("UPDATE `contact` SET `term-date = '%s' WHERE `id` = %d LIMIT 1",
|
||||
q("UPDATE `contact` SET `term-date` = '%s' WHERE `id` = %d LIMIT 1",
|
||||
dbesc('0000-00-00 00:00:00'),
|
||||
intval($contact['id'])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue