diff --git a/chat.php b/chat.php index e9622dc..df21858 100644 --- a/chat.php +++ b/chat.php @@ -317,16 +317,18 @@ function credit() : string { } function meta_html() : string { - global $db; - $colbg='000000'; + global $U, $db; + $colbg = '000000'; + $description = ''; if(!empty($U['bgcolour'])){ - $colbg=$U['bgcolour']; + $colbg = $U['bgcolour']; }else{ if($db instanceof PDO){ - $colbg=get_setting('colbg'); + $colbg = get_setting('colbg'); + $description = ''; } } - return ''; + return '' . $description; } function form(string $action, string $do='') : string {