]> git.mxchange.org Git - friendica.git/blobdiff - include/dfrn.php
Bugfix: frio - the tabbar should be hidden if it is in the section element
[friendica.git] / include / dfrn.php
index e9bdaec6649772abaf5b8ebfe7da6666c5c5bd0a..702fbb15fe0f31a19c5eb831f4a0cb8d91b17f03 100644 (file)
@@ -1421,9 +1421,9 @@ class dfrn {
                $msg["seen"] = 0;
                $msg["replied"] = 0;
 
-               dbesc_array($msg);
+               dbm::esc_array($msg, true);
 
-               $r = dbq("INSERT INTO `mail` (`".implode("`, `", array_keys($msg))."`) VALUES ('".implode("', '", array_values($msg))."')");
+               $r = dbq("INSERT INTO `mail` (`".implode("`, `", array_keys($msg))."`) VALUES (".implode(", ", array_values($msg)).")");
 
                // send notifications.