From 25393dd3775c7d53bad55b529765d0774a7227e8 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 13 Nov 2016 08:24:28 +0100 Subject: [PATCH] Fix uninitialized database access --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index cc936f9..df5d933 100644 --- a/chat.php +++ b/chat.php @@ -339,7 +339,7 @@ function print_start($class='', $ref=0, $url=''){ print_stylesheet(); } echo ""; - if(($externalcss=get_setting('externalcss'))!=''){ + if($class!=='init' && ($externalcss=get_setting('externalcss'))!=''){ //external css - in body to make it non-renderblocking echo ""; }