1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 10:01:56 +02:00

PDO Fix for saving of e107::serialize() data. Saving of Extended Field data now working correctly.

This commit is contained in:
Cameron
2016-03-22 21:11:47 -07:00
parent 846be2c23c
commit e930ee68f1
4 changed files with 13 additions and 5 deletions

View File

@@ -495,16 +495,16 @@ class users_admin_ui extends e_admin_ui
}
function saveExtended($new_data)
{
$update = array();
$fieldtype = array();
foreach($this->extended as $key) // Grab Extended field data.
{
$update[$key] = vartrue($new_data['ue'][$key],'_NULL_');
$update['data'][$key] = vartrue($new_data['ue'][$key],'_NULL_');
}
e107::getMessage()->addDebug(print_a($update,true));
e107::getUserExt()->addFieldTypes($update);
if(!empty($update))
{