diff --git a/application/libraries/REST_Controller.php b/application/libraries/REST_Controller.php index 344f922fa..d1bd334c6 100644 --- a/application/libraries/REST_Controller.php +++ b/application/libraries/REST_Controller.php @@ -967,8 +967,7 @@ abstract class REST_Controller extends CI_Controller { $this->rest->level = NULL; $this->rest->user_id = NULL; $this->rest->ignore_limits = FALSE; -//var_dump($this->_args); -//var_dump($this->input->server($key_name)); + // Find the key from server or arguments if (($key = isset($this->_args[$api_key_variable]) ? $this->_args[$api_key_variable] : $this->input->server($key_name))) { diff --git a/tests/codeception/_support/_generated/AcceptanceTesterActions.php b/tests/codeception/_support/_generated/AcceptanceTesterActions.php index 0d450a2b6..e5e86bcd5 100644 --- a/tests/codeception/_support/_generated/AcceptanceTesterActions.php +++ b/tests/codeception/_support/_generated/AcceptanceTesterActions.php @@ -1,4 +1,4 @@ -