From ac3137a16600a68fa7f6fde462be0cd197bd79ed 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 a2b019b3289..f0bf171be64 100644 --- a/core/templates/exception.php +++ b/core/templates/exception.php @@ -14,7 +14,7 @@ style('core', ['styles', 'header']);