Skip to content

Commit

Permalink
Fix #1552
Browse files Browse the repository at this point in the history
Fix #1552
  • Loading branch information
saulowulhynek committed Dec 9, 2016
1 parent 7d654e0 commit ca399f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Include/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -76,6 +79,7 @@
<!-- logo for regular state and mobile devices -->
<?php
$headerHTML = "<b>Church</b>CRM";
$sHeader = SystemConfig::getValue("sHeader");
if ($sHeader) {
$headerHTML = html_entity_decode($sHeader, ENT_QUOTES);
}
Expand Down

0 comments on commit ca399f5

Please sign in to comment.