Skip to content

Commit dd5a06d

Browse files
Merge pull request chriskacerguis#644 from softwarespot/fix-paren
Fixed parenthesis
2 parents f755cdd + dee9eee commit dd5a06d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

application/libraries/REST_Controller.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@ public function __construct($config = 'rest')
557557
}
558558

559559
// When there is no specific override for the current class/method, use the default auth value set in the config
560-
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))
560+
if ($this->auth_override === FALSE &&
561+
(! ($this->config->item('rest_enable_keys') && $this->_allow === TRUE) ||
562+
($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE)))
561563
{
562564
$rest_auth = strtolower($this->config->item('rest_auth'));
563565
switch ($rest_auth)

0 commit comments

Comments
 (0)