aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields/manager.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-04-10 14:14:30 -0700
committerNils Adermann <naderman@naderman.de>2014-04-10 14:14:30 -0700
commit0ad98336689b12f2a7df6586c659ed6fe150de76 (patch)
tree7e1113982e3ee4a54dbc4514b061e92e6d437c8a /phpBB/phpbb/profilefields/manager.php
parente2654b34c8ca2bcd7434a24d41338605579b3ecd (diff)
parent45e6dd23e90fb3cc65f2b2454579f738fb81d293 (diff)
downloadforums-0ad98336689b12f2a7df6586c659ed6fe150de76.tar
forums-0ad98336689b12f2a7df6586c659ed6fe150de76.tar.gz
forums-0ad98336689b12f2a7df6586c659ed6fe150de76.tar.bz2
forums-0ad98336689b12f2a7df6586c659ed6fe150de76.tar.xz
forums-0ad98336689b12f2a7df6586c659ed6fe150de76.zip
Merge remote-tracking branch 'github-nickvergessen/ticket/12331' into develop-ascraeus
* github-nickvergessen/ticket/12331: [ticket/12331] Add functional test for saving custom profile fields [ticket/12331] Fix SQL error when inserting a new entry to profile field data
Diffstat (limited to 'phpBB/phpbb/profilefields/manager.php')
-rw-r--r--phpBB/phpbb/profilefields/manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php
index eebdbd07ae..37449c67c4 100644
--- a/phpBB/phpbb/profilefields/manager.php
+++ b/phpBB/phpbb/profilefields/manager.php
@@ -231,6 +231,7 @@ class manager
if (!$this->db->sql_affectedrows())
{
+ $cp_data = $this->build_insert_sql_array($cp_data);
$cp_data['user_id'] = (int) $user_id;
$this->db->sql_return_on_error(true);