Commit 0f265690 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1681579: Fixing for installing site



When institution table does not exist yet

behatnotneeded

Change-Id: I7560e80f815a0fc4cb2516fdec5a69e36964ef50
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent aca5d600
......@@ -602,7 +602,10 @@ EOF;
}
$smarty->assign('sitename', $sitename);
$sitelogocustom = (int) (get_field('institution', 'logo', 'name', 'mahara') || $THEME->headerlogo);
$sitelogocustom = false;
if (get_config('installed')) {
$sitelogocustom = (int) (get_field('institution', 'logo', 'name', 'mahara') || $THEME->headerlogo);
}
$smarty->assign('sitelogocustom', $sitelogocustom);
$sitelogo = $THEME->header_logo();
$sitelogo = append_version_number($sitelogo);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment