Removed direct references to $_REQUEST and $_POST

This commit is contained in:
Deon George
2016-08-03 16:20:25 +10:00
parent 5f84d2c14f
commit 7adcd1d983
24 changed files with 85 additions and 85 deletions

View File

@@ -20,7 +20,7 @@ class Controller_Admin_Setup extends Controller_TemplateDefault {
public function action_edit() {
$o = Company::instance()->so();
if ($_POST AND $o->values($_POST)->changed() AND (! $this->save($o)))
if ($this->request->post() AND $o->values($this->request->post())->changed() AND (! $this->save($o)))
$o->reload();
Block::factory()