From 03689fa6b0240532a00a63fbead6dab9d95adbb5 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 9 Jul 2010 16:45:43 -0700 Subject: [PATCH] dbesc the profile clone --- mod/profiles.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/profiles.php b/mod/profiles.php index ea0b9afcb8..8b44e2d59a 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 ('"