Skip to content

Commit 812c5d8

Browse files
authored
4.2dev (#3860)
fix: for frontend pages with Server Error 500 when accessed by guests or users with basic permissions
1 parent 7093bc6 commit 812c5d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpmyfaq/src/phpMyFAQ/Controller/Administration/StatisticsSearchController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ final class StatisticsSearchController extends AbstractAdministrationController
4343
public function index(Request $request): Response
4444
{
4545
$this->userHasPermission(PermissionType::STATISTICS_VIEWLOGS);
46+
$this->addExtension(new AttributeExtension(LanguageCodeTwigExtension::class));
4647

4748
$perPage = 10;
4849

0 commit comments

Comments
 (0)