Removed direct references to $_REQUEST and $_POST
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user