Index: trunk/core/units/users/users_event_handler.php =================================================================== diff -u -N -r4490 -r4524 --- trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 4490) +++ trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 4524) @@ -920,6 +920,25 @@ $object->IgnoreValidation = true; $object->SetFieldsFromHash($fields); } + + /** + * Sets persistant variable + * + * @param kEvent $event + */ + function OnSetPersistantVariable(&$event) + { + $object =& $event->getObject(); + + $field = $this->Application->GetVar('field'); + $value = $this->Application->GetVar('value'); + $object->setPersistantVar($field, $value); + + $force_tab = $this->Application->GetVar('SetTab'); + if ($force_tab) { + $this->Application->StoreVar('force_tab', $force_tab); + } + } } ?> \ No newline at end of file