dbesc the profile clone
This commit is contained in:
parent
db31c293a8
commit
03689fa6b0
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ function profiles_content(&$a) {
|
||||||
$r1[0]['publish'] = 0;
|
$r1[0]['publish'] = 0;
|
||||||
$r1[0]['profile-name'] = dbesc($name);
|
$r1[0]['profile-name'] = dbesc($name);
|
||||||
|
|
||||||
|
dbesc_array($r1[0]);
|
||||||
|
|
||||||
$r2 = q("INSERT INTO `profile` (`"
|
$r2 = q("INSERT INTO `profile` (`"
|
||||||
. implode("`, `", array_keys($r1[0]))
|
. implode("`, `", array_keys($r1[0]))
|
||||||
. "`) VALUES ('"
|
. "`) VALUES ('"
|
||||||
|
|
Loading…
Reference in a new issue