From ca399f51475c3a922ea05690e55171e565ff1e3f Mon Sep 17 00:00:00 2001 From: saulowulhynek Date: Fri, 9 Dec 2016 16:35:28 -0200 Subject: [PATCH] Fix #1552 Fix #1552 --- src/Include/Header.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Include/Header.php b/src/Include/Header.php index e2c89c2c39..b483b8974b 100644 --- a/src/Include/Header.php +++ b/src/Include/Header.php @@ -25,7 +25,10 @@ * This file best viewed in a text editor with tabs stops set to 4 characters * ******************************************************************************/ -if ( ! $systemService->isDBCurrent()) //either the DB is good, or the upgrade was successful. + + use ChurchCRM\dto\SystemConfig; + + if ( ! $systemService->isDBCurrent()) //either the DB is good, or the upgrade was successful. { Redirect('CheckVersion.php'); exit; @@ -76,6 +79,7 @@ ChurchCRM"; + $sHeader = SystemConfig::getValue("sHeader"); if ($sHeader) { $headerHTML = html_entity_decode($sHeader, ENT_QUOTES); }