From 7f1c71c9fd2dbcc8c85c0042602766bc8767f744 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 22 Apr 2017 00:00:13 +0200 Subject: [PATCH] Fix SQL date format bug in dfrn https://github.com/friendica/friendica/issues/3336 https://github.com/friendica/friendica/pull/3338 --- include/dfrn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dfrn.php b/include/dfrn.php index a4651c6c8..ddebf1e9b 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1460,7 +1460,7 @@ class dfrn { dbesc($contact["name"]), dbesc($contact["nick"]), dbesc($contact["about"]), dbesc($contact["location"]), dbesc($contact["addr"]), dbesc($contact["keywords"]), dbesc($contact["bdyear"]), dbesc($contact["bd"]), intval($contact["hidden"]), dbesc($contact["xmpp"]), - dbesc($contact["name-date"]), dbesc($contact["uri-date"]), + dbesc(dbm::date($contact["name-date"])), dbesc(dbm::date($contact["uri-date"])), intval($contact["id"]), dbesc($contact["network"])); }