aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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 ('"