kopia lustrzana https://github.com/friendica/friendica
Avoid SQL error with wrong formatted datetime value
rodzic
89cf2ea186
commit
321a36d4db
|
@ -78,7 +78,7 @@ class OnePoll
|
|||
$last_updated = $contact['last-item'];
|
||||
}
|
||||
|
||||
$fields = ['last-item' => $last_updated, 'last-update' => $updated, 'success_update' => $updated];
|
||||
$fields = ['last-item' => DateTimeFormat::utc($last_updated), 'last-update' => $updated, 'success_update' => $updated];
|
||||
self::updateContact($contact, $fields);
|
||||
Contact::unmarkForArchival($contact);
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue