Skip to content

Commit

Permalink
Merge pull request #100 from thomashohn/bugfix/99-only-show-popupmenu…
Browse files Browse the repository at this point in the history
…-for-sys_file

[BUGFIX] Fixed false condition for canHandle in Preview
  • Loading branch information
timohund committed Aug 1, 2018
2 parents e7d0765 + 7abe4c2 commit 3f9fd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ContextMenu/Preview.php
Expand Up @@ -28,7 +28,7 @@ public function canHandle(): bool

// Current table is: $this->table
// Current UID is: $this->identifier
if (!$this->table === 'sys_file') {
if ($this->table !== 'sys_file') {
return false;
}

Expand Down

0 comments on commit 3f9fd6f

Please sign in to comment.