Skip to content

Commit

Permalink
Merge pull request #30 from lenarx/patch-1
Browse files Browse the repository at this point in the history
remove print_r from isAllowed method
  • Loading branch information
brussens authored Aug 6, 2019
2 parents 174b5dc + 9ebcd6f commit 980001d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/filters/URIFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ public function init()
*/
public function isAllowed()
{
print_r($this->request->getPathInfo());
if (is_array($this->uri) && !empty($this->uri)) {
return (bool) in_array($this->request->getPathInfo(), $this->uri);
}
return false;
}
}
}

0 comments on commit 980001d

Please sign in to comment.