Skip to content

Commit

Permalink
Merge pull request #2027 from vimishor/bug/2026
Browse files Browse the repository at this point in the history
Fixes #2026
  • Loading branch information
bobdenotter committed Oct 30, 2014
2 parents bd44592 + fe92b89 commit f5ad653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ private function isAllowedSingle($what, $user, $userRoles, $contenttype = null,
break;

case 'relatedto':
$contenttype = $parts[1];
$contenttype = isset($parts[1]) ? $parts[1] : '';
if (empty($contenttype)) {
$this->audit("Granting 'relatedto' globally (hard-coded override)");

Expand Down

0 comments on commit f5ad653

Please sign in to comment.