diff options
author | Friendika <info@friendika.com> | 2010-11-09 15:11:47 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-09 15:11:47 -0800 |
commit | f7c0480f1b69c44d5daf47d343aaba44ebd26ec2 (patch) | |
tree | 20765a582cf3e781cf670103686f31e68686081d /mod/dfrn_notify.php | |
parent | c50f491c3dd6df917c86d8074ebfdba22f96558d (diff) | |
download | volse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.tar.gz volse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.tar.bz2 volse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.zip |
use raw db queries wherever query items could contain '%'
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 745223dd7..e7dbf74a1 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -106,7 +106,7 @@ function dfrn_notify_post(&$a) { dbesc_array($msg); - $r = q("INSERT INTO `mail` (`" . implode("`, `", array_keys($msg)) + $r = dbq("INSERT INTO `mail` (`" . implode("`, `", array_keys($msg)) . "`) VALUES ('" . implode("', '", array_values($msg)) . "')" ); // send email notification if requested. |