1
0
Fork 0

Alternate solution for pull request 3124

This commit is contained in:
Michael 2017-01-28 12:19:04 +00:00
commit ea22828d37
5 changed files with 49 additions and 14 deletions

View 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.