From: Alexandre Alapetite Date: Fri, 21 Apr 2017 22:00:13 +0000 (+0200) Subject: Fix SQL date format bug in dfrn X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f1c71c9fd2dbcc8c85c0042602766bc8767f744;p=friendica.git Fix SQL date format bug in dfrn https://github.com/friendica/friendica/issues/3336 https://github.com/friendica/friendica/pull/3338 --- diff --git a/include/dfrn.php b/include/dfrn.php index a4651c6c8e..ddebf1e9bf 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"])); }