Skip to content

Commit

Permalink
fixing code analysis: fix parameter in method call
Browse files Browse the repository at this point in the history
  • Loading branch information
wernerkrauss committed Jun 1, 2017
1 parent 849c006 commit 9d3c450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/extensions/ErrorPageSubsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function alternateFilepathForErrorcode($statusCode, $locale = null)
$subdomainPart = '';

// Try to get current subsite from session
$subsite = Subsite::currentSubsite(false);
$subsite = Subsite::currentSubsite();

// since this function is called from Page class before the controller is created, we have to get subsite from domain instead
if (!$subsite) {
Expand Down

0 comments on commit 9d3c450

Please sign in to comment.