]> git.mxchange.org Git - friendica.git/blobdiff - include/dfrn.php
Fix SQL date format bug in dfrn
[friendica.git] / include / dfrn.php
index a4651c6c8ecda5f793b7f630cd3ebfb2c4dd26ba..ddebf1e9bf60210d575a337a7e38f976b8472340 100644 (file)
@@ -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"]));
                        }