Skip to content

Commit

Permalink
Merge pull request #62 from libis/fix/caGetUserAccessValues_args
Browse files Browse the repository at this point in the history
pass required request for getuseraccessvalues
  • Loading branch information
collectiveaccess authored Jan 19, 2023
2 parents 7e5c46e + 45025d7 commit 650cb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __call($method, $path) {
if($path[0][sizeof($path[0])-1] === '_default') {
$def_path = $path[0];
array_pop($def_path);
$content = $content = ca_site_pages::renderPageForPath($this, "/".trim(join("/", $def_path), "/"), ['incrementViewCount' => true, 'checkAccess' => caGetUserAccessValues()]);
$content = $content = ca_site_pages::renderPageForPath($this, "/".trim(join("/", $def_path), "/"), ['incrementViewCount' => true, 'checkAccess' => caGetUserAccessValues($this->request)]);
}
}
if ($content) {
Expand Down

0 comments on commit 650cb72

Please sign in to comment.