Skip to content

Commit

Permalink
Merge pull request #213 from bigahuna/fix-access-to-undefined-offset-…
Browse files Browse the repository at this point in the history
…in-ButtonBarHook

Update ButtonBarHook.php
  • Loading branch information
calien666 authored May 12, 2023
2 parents 9f39891 + 4ff202a commit 5f3e8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Hooks/ButtonBarHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getButtons(array $params, ButtonBar $buttonBar)
);

if (
$page['module'] === 'glossary'
isset($page['module']) && $page['module'] === 'glossary'
&& $this->getBackendUserAuthentication()
->check('tables_modify', 'tx_wvdeepltranslate_glossaryentry')
) {
Expand Down

0 comments on commit 5f3e8c1

Please # to comment.