Skip to content

Commit

Permalink
Merge branch '3.0' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2025
2 parents d0fc197 + f336832 commit 251a688
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ErrorPageControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ protected function onBeforeHTTPError($statusCode, $request, $errorMessage = null

private function isAdminController(): bool
{
return ($this->owner instanceof LeftAndMain)
|| Controller::has_curr() && (Controller::curr() instanceof LeftAndMain);
return ($this->owner instanceof LeftAndMain) || (Controller::curr() instanceof LeftAndMain);
}
}

0 comments on commit 251a688

Please sign in to comment.