fixing code analysis: fix parameter in method call

This commit is contained in:
Werner M. Krauß 2017-06-01 15:43:30 +02:00
parent 849c0061e8
commit 9d3c4506af
1 changed files with 1 additions and 1 deletions

View File

@ -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) {