Alternate solution for pull request 3124
This commit is contained in:
parent
9259feec6f
commit
ea22828d37
5 changed files with 49 additions and 14 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue