Skip to content

Commit

Permalink
Merge branch '4.x' into 4.12
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
brandonkelly committed Sep 3, 2024
2 parents c53e361 + b72493a commit cffa689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,7 @@ private function _renderPhotoTemplate(User $user): string
{
$view = $this->getView();
$templateMode = $view->getTemplateMode();
if ($templateMode === View::TEMPLATE_MODE_SITE && !$view->doesTemplateExist('users/_photo')) {
if ($templateMode === View::TEMPLATE_MODE_SITE && !$view->doesTemplateExist('users/_photo.twig')) {
$templateMode = View::TEMPLATE_MODE_CP;
}

Expand Down

0 comments on commit cffa689

Please sign in to comment.