From 9d3c4506af1d7c2eea0b11369f643f7fddb95d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20M=2E=20Krau=C3=9F?= Date: Thu, 1 Jun 2017 15:43:30 +0200 Subject: [PATCH] fixing code analysis: fix parameter in method call --- code/extensions/ErrorPageSubsite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/extensions/ErrorPageSubsite.php b/code/extensions/ErrorPageSubsite.php index 60c58007..93be31e8 100644 --- a/code/extensions/ErrorPageSubsite.php +++ b/code/extensions/ErrorPageSubsite.php @@ -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) {