From 80ff17194fdd1b2a4a3c9e32c40a592e7b0a6fa4 Mon Sep 17 00:00:00 2001
From: Cameron <e107inc@gmail.com>
Date: Mon, 15 Feb 2021 11:01:55 -0800
Subject: [PATCH] PHP8 fix. Admin css tweak for debug info.

---
 contact.php                                 | 2 +-
 e107_themes/bootstrap3/css/modern-light.css | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contact.php b/contact.php
index 88ca897fb..543a51d7f 100644
--- a/contact.php
+++ b/contact.php
@@ -37,7 +37,7 @@ class contact_front
 		$ns = e107::getRender();
 		$pref = e107::getPref();
 
-		$CONTACT_FORM = $GLOBALS['CONTACT_FORM'];
+		$CONTACT_FORM = varset($GLOBALS['CONTACT_FORM']);
 
 		if (empty($CONTACT_FORM))
 		 {
diff --git a/e107_themes/bootstrap3/css/modern-light.css b/e107_themes/bootstrap3/css/modern-light.css
index 95cc7a720..b6eb26217 100644
--- a/e107_themes/bootstrap3/css/modern-light.css
+++ b/e107_themes/bootstrap3/css/modern-light.css
@@ -1633,7 +1633,8 @@
 
 .form-control.bootstrap-switch span.bootstrap-switch-default { background: rgba(0,0,0,0.1) }
 
-.e-debug { margin-left: 60px; } 
+.e-debug { margin-left: 60px; color: rgba(0,0,0,0.8) }
+.e-debug h4 { color: white }
 .admin-ui-help-tip { color: rgba(0,0,0,0.3) !important; }
 .admin-ui-help-tip:hover { color: #5bc0de !important }
 ul.col-selection > li a {  border-bottom: 1px solid rgba(0,0,0,0.3); }