Skip to content

Commit

Permalink
Add feature action to permission check as well (see contao#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Nov 26, 2020
1 parent c766b3d commit 6131435
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -638,6 +638,7 @@ public function checkPermission()
case 'show':
case 'delete':
case 'toggle':
case 'feature':
$objCalendar = $this->Database->prepare("SELECT pid FROM tl_calendar_events WHERE id=?")
->limit(1)
->execute($id);
Expand Down

0 comments on commit 6131435

Please sign in to comment.