mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
fixing code analysis: fix parameter in method call
This commit is contained in:
parent
849c0061e8
commit
9d3c4506af
@ -28,7 +28,7 @@ class ErrorPageSubsite extends DataExtension
|
||||
$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) {
|
||||
|
Loading…
Reference in New Issue
Block a user