mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Bugfix for badly formatted date time string.
This commit is contained in:
parent
ca7c608161
commit
194d80c326
2 changed files with 12 additions and 1 deletions
|
@ -622,7 +622,7 @@ function poco_last_updated($profile, $force = false) {
|
|||
$last_updated = "0000-00-00 00:00:00";
|
||||
|
||||
q("UPDATE `gcontact` SET `updated` = '%s', `last_contact` = '%s' WHERE `nurl` = '%s'",
|
||||
dbesc($last_updated), dbesc(datetime_convert()), dbesc(normalise_link($profile)));
|
||||
dbesc(dbm::date($last_updated)), dbesc(datetime_convert()), dbesc(normalise_link($profile)));
|
||||
|
||||
if (($gcontacts[0]["generation"] == 0))
|
||||
q("UPDATE `gcontact` SET `generation` = 9 WHERE `nurl` = '%s'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue