From af49313e26d11e3e877a5842880bf23d521ff394 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Thu, 26 May 2022 22:38:43 +0200
Subject: [PATCH] Fix path

---
 lib/SimpleSAML/Error/Error.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php
index bce003aa7..3e0791b28 100644
--- a/lib/SimpleSAML/Error/Error.php
+++ b/lib/SimpleSAML/Error/Error.php
@@ -248,7 +248,7 @@ class Error extends Exception
             // enable error reporting
             $httpUtils = new Utils\HTTP();
             $baseurl = $httpUtils->getBaseURL();
-            $data['errorReportAddress'] = $baseurl . 'errorreport.php';
+            $data['errorReportAddress'] = Module::getModuleURL('core/errorReport');
         }
 
         $data['email'] = '';
-- 
GitLab