Index: branches/5.2.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r15777 -r16005 --- branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 15777) +++ branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 16005) @@ -1,6 +1,6 @@ getUserObject(); - $this->Application->removeObject($object->getPrefixSpecial()); - $this->Application->StoreVar('user_id', $user_id); $this->Application->SetVar('u.current_id', $user_id); + + if ( !$this->Application->isAdmin ) { + // needed for "profile edit", "registration" forms ON FRONT ONLY + $this->Application->SetVar('u_id', $user_id); + } + + $this->Application->StoreVar('user_id', $user_id); $this->Application->Session->SetField('PortalUserId', $user_id); if ($user_id != USER_ROOT) {