Index: branches/RC/core/units/general/cat_dbitem_export.php =================================================================== diff -u -N -r9842 -r10024 --- branches/RC/core/units/general/cat_dbitem_export.php (.../cat_dbitem_export.php) (revision 9842) +++ branches/RC/core/units/general/cat_dbitem_export.php (.../cat_dbitem_export.php) (revision 10024) @@ -1196,8 +1196,7 @@ $object =& $event->getObject( Array('skip_autoload' => true) ); $options = $object->GetFieldOptions('ExportPresets'); - $user =& $this->Application->recallObject('u.current'); - $export_settings = $user->getPersistantVar('export_settings'); + $export_settings = $this->Application->RecallPersistentVar('export_settings'); if (!$export_settings) return ; $export_settings = unserialize($export_settings); @@ -1316,11 +1315,11 @@ { if ($object->GetDBField('ExportSavePreset')) { $name = $object->GetDBField('ExportPresetName'); - $user =& $this->Application->recallObject('u.current'); - $export_settings = $user->getPersistantVar('export_settings'); + + $export_settings = $this->Application->RecallPersistentVar('export_settings'); $export_settings = $export_settings ? unserialize($export_settings) : array(); $export_settings[$event->Prefix][$name] = $field_values; - $user->setPersistantVar('export_settings', serialize($export_settings)); + $this->Application->StorePersistentVar('export_settings', serialize($export_settings)); } $progress_t = $this->Application->RecallVar('export_progress_t');