Commit 3e363162 by Cecilia Vela Gurovic Committed by Gerrit Code Review

Merge "Bug 1773043: Check for logoxs object param"

parents a14f9c24 7845d8b7
......@@ -921,7 +921,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