aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-09 15:11:47 -0800
committerFriendika <info@friendika.com>2010-11-09 15:11:47 -0800
commitf7c0480f1b69c44d5daf47d343aaba44ebd26ec2 (patch)
tree20765a582cf3e781cf670103686f31e68686081d /mod/profiles.php
parentc50f491c3dd6df917c86d8074ebfdba22f96558d (diff)
downloadvolse-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/profiles.php')
-rw-r--r--mod/profiles.php2
1 files changed, 1 insertions, 1 deletions
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]))