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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user