Skip to content

Commit

Permalink
Fixed parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarespot committed Apr 17, 2016
1 parent f755cdd commit dee9eee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/libraries/REST_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ public function __construct($config = 'rest')
}

// When there is no specific override for the current class/method, use the default auth value set in the config
if ($this->auth_override === FALSE && ! ($this->config->item('rest_enable_keys') && $this->_allow === TRUE) || ($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE))
if ($this->auth_override === FALSE &&
(! ($this->config->item('rest_enable_keys') && $this->_allow === TRUE) ||
($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE)))
{
$rest_auth = strtolower($this->config->item('rest_auth'));
switch ($rest_auth)
Expand Down

0 comments on commit dee9eee

Please sign in to comment.