aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-09 16:45:43 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-09 16:45:43 -0700
commit03689fa6b0240532a00a63fbead6dab9d95adbb5 (patch)
treedc2c882a2bf5293240f8ce52e25b66eaa7c660eb /mod/profiles.php
parentdb31c293a89294ffa59d613420274f500e60817b (diff)
downloadvolse-hubzilla-03689fa6b0240532a00a63fbead6dab9d95adbb5.tar.gz
volse-hubzilla-03689fa6b0240532a00a63fbead6dab9d95adbb5.tar.bz2
volse-hubzilla-03689fa6b0240532a00a63fbead6dab9d95adbb5.zip
dbesc the profile clone
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index ea0b9afcb..8b44e2d59 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -151,6 +151,8 @@ function profiles_content(&$a) {
$r1[0]['publish'] = 0;
$r1[0]['profile-name'] = dbesc($name);
+ dbesc_array($r1[0]);
+
$r2 = q("INSERT INTO `profile` (`"
. implode("`, `", array_keys($r1[0]))
. "`) VALUES ('"