aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_notify.php2
-rw-r--r--mod/profiles.php2
2 files changed, 2 insertions, 2 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.
diff --git a/mod/profiles.php b/mod/profiles.php
index b8151eadd..26e8d4ec5 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -249,7 +249,7 @@ function profiles_content(&$a) {
dbesc_array($r1[0]);
- $r2 = q("INSERT INTO `profile` (`"
+ $r2 = dbq("INSERT INTO `profile` (`"
. implode("`, `", array_keys($r1[0]))
. "`) VALUES ('"
. implode("', '", array_values($r1[0]))