Index: branches/unlabeled/unlabeled-1.14.2/core/units/users/users_tag_processor.php =================================================================== diff -u -r6842 -r7062 --- branches/unlabeled/unlabeled-1.14.2/core/units/users/users_tag_processor.php (.../users_tag_processor.php) (revision 6842) +++ branches/unlabeled/unlabeled-1.14.2/core/units/users/users_tag_processor.php (.../users_tag_processor.php) (revision 7062) @@ -176,6 +176,16 @@ $object =& $this->getObject($params); return $object->GetID() != -1 ? $object->GetDBField('Login') : 'root'; } + + function CookieUsername($params) + { + $submit_value = $this->Application->GetVar($params['submit_field']); + if ($submit_value !== false) { + return $submit_value; + } + + return $this->Application->GetVar('save_username'); // from cookie + } }