Browse Source

missed escape on email receive

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
2ee1b00c9c
  1. 1
      mod/dfrn_notify.php

1
mod/dfrn_notify.php

@ -68,6 +68,7 @@ function dfrn_notify_post(&$a) {
$msg['parent-uri'] = notags(unxmlify($base['in-reply-to'][0]['data']));
$msg['created'] = datetime_convert(notags(unxmlify('UTC','UTC',$base['sentdate'][0]['data'])));
dbesc_array($msg);
$r = q("INSERT INTO `mail` (`" . implode("`, `", array_keys($msg))
. "`) VALUES ('" . implode("', '", array_values($msg)) . "')" );

Loading…
Cancel
Save