Removed direct references to $_REQUEST and $_POST
This commit is contained in:
@@ -19,7 +19,7 @@ class Controller_User_Account extends Controller_Account {
|
||||
* Enable User to Edit their Account Details
|
||||
*/
|
||||
public function action_edit() {
|
||||
if ($_POST AND $this->ao->values($_POST)->changed() AND (! $this->save($this->ao)))
|
||||
if ($this->request->post() AND $this->ao->values($this->request->post())->changed() AND (! $this->save($this->ao)))
|
||||
$this->ao->reload();
|
||||
|
||||
Block::factory()
|
||||
|
Reference in New Issue
Block a user