Changeset 15136 for events/phpframework/piece_framework/trunk/web/frontend/webapp/actions/Account/PasswordAction.php
- Timestamp:
- 07/04/08 01:30:16 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/piece_framework/trunk/web/frontend/webapp/actions/Account/PasswordAction.php
r15019 r15136 52 52 { 53 53 if (is_null($this->_self)) { 54 $loginUser = $this->_context->getSession()->getAttribute('loginUser'); 55 $this->_self = new Phwittr_Self($loginUser->id); 54 $this->_self = $this->_context->getAttribute('self'); 56 55 } 57 56 } … … 61 60 $master = new Piece_Unity_Service_Runemaster(); 62 61 $master->addForm('AccountPassword', '/account/password'); 63 64 $viewElement = $this->_context->getViewElement();65 $viewElement->setElementByRef('self', $this->_self);66 62 } 67 63 … … 75 71 76 72 try { 77 Phwittr_Account::updatePassword($this->_ userId,73 Phwittr_Account::updatePassword($this->_self->id, 78 74 $formValue->password 79 75 ); 76 80 77 return 'DisplayForm'; 81 78
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)