Skip to content

Commit

Permalink
Add the feature action to the permission checks (see contao#2524)
Browse files Browse the repository at this point in the history
Description
-----------

| Q                | A
| -----------------| ---
| Fixed issues     | Fixes contao#2505
| Docs PR or issue | n/a

See contao#2505.

Commits
-------

6131435 Add feature action to permission check as well (see contao#2505)
  • Loading branch information
bytehead committed Nov 27, 2020
1 parent c766b3d commit 13c00f1
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 13c00f1

Please sign in to comment.