Commit f4b69cd9 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1773043: Check for logoxs object param



This can be missing in collection object when upgrading from older
site and new db field is not created yet

behatnotneeded

Change-Id: I275a6387546eb8adaefd8b35f8b96dc754979cf5
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 68f0ec8c
......@@ -945,7 +945,7 @@ class User {
if (!is_null($themeinstitution)) {
$themename = $institutions[$themeinstitution]->theme;
$headerlogo = $institutions[$themeinstitution]->logo;
$headerlogosmall = $institutions[$themeinstitution]->logoxs;
$headerlogosmall = isset($institutions[$themeinstitution]->logoxs) ? $institutions[$themeinstitution]->logoxs : null;
if ($institutions[$themeinstitution]->style) {
$stylesheet = get_config('wwwroot') . 'style.php?id=' . $institutions[$themeinstitution]->style;
if ($nocachecss) {
......
Markdown is supported
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