Added basic log entry info page

This commit is contained in:
Jan Böhmer 2023-04-10 00:30:23 +02:00
parent e0e5fb3d5a
commit 4107535b19
8 changed files with 339 additions and 136 deletions

View file

@ -53,7 +53,7 @@ class LogEntryVoter extends ExtendedVoter
protected function supports($attribute, $subject): bool
{
if ($subject instanceof AbstractLogEntry) {
return in_array($subject, static::ALLOWED_OPS, true);
return in_array($attribute, static::ALLOWED_OPS, true);
}
return false;