From bfa3bbcf7d1e60293a4f4e48a738fff0adbb7861 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Sun, 10 Jun 2018 16:50:20 +0000
Subject: [PATCH] do not use $errconext, it has been deprecated anyway.

---
 www/_include.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/_include.php b/www/_include.php
index 78451ee31..d3e6852ba 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -53,7 +53,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = null, $errline = 0
     }
 
     // show an error with a full backtrace
-    $context = (is_null($errfile)?'':" at $errfile:$errline") . (is_null($errcontext)?'':" $errcontext");
+    $context = (is_null($errfile)?'':" at $errfile:$errline");
     $e = new \SimpleSAML\Error\Exception('Error '.$errno.' - '.$errstr . $context);
     $e->logError();
 
-- 
GitLab