Removed direct references to and

This commit is contained in:
Deon George
2016-08-03 15:56:14 +10:00
parent 4bbf00a3d1
commit a7616960f0
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ abstract class lnApp_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()