Browse Source

dbesc the profile clone

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
03689fa6b0
  1. 2
      mod/profiles.php

2
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 ('"

Loading…
Cancel
Save