Skip to content

Commit

Permalink
fixes #1552 for Master (#1622)
Browse files Browse the repository at this point in the history
fix for 2.4.4
  • Loading branch information
DawoudIO authored Jan 3, 2017
1 parent dd476a9 commit dac84c6
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,6 +25,9 @@
* This file best viewed in a text editor with tabs stops set to 4 characters
*
******************************************************************************/

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 @@ -75,7 +78,8 @@
<!-- logo for regular state and mobile devices -->
<?php
$headerHTML = '<b>Church</b>CRM';
if ($sHeader) {
$sHeader = SystemConfig::getValue("sHeader");
if (!empty($sHeader)) {
$headerHTML = html_entity_decode($sHeader, ENT_QUOTES);
}
?>
Expand Down

0 comments on commit dac84c6

Please sign in to comment.