From 41783a0a76ad631254b274e38c0866bb16e44223 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 2 Jul 2020 15:46:59 +0200 Subject: [PATCH] Check if debugMode is defined before using it Else the sabre error page (where the var is not defined) will throw warnings all the time. Signed-off-by: Roeland Jago Douma --- core/templates/exception.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/exception.php b/core/templates/exception.php index a2b019b328..f0bf171be6 100644 --- a/core/templates/exception.php +++ b/core/templates/exception.php @@ -14,7 +14,7 @@ style('core', ['styles', 'header']);