Commit ace8b80f authored by Robert Lyon's avatar Robert Lyon

Bug 1688693: Need to cast the $owner an integer

Before checking for their theme

behatnotneeded

Change-Id: I25190cb69f6ff04c160f6d8f8980a42b4360830b
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c99a3f41
......@@ -243,7 +243,7 @@ if ($viewtheme && $THEME->basename != $viewtheme) {
}
// if it's another users view, it should be displayed with the other users institution theme
else if ($owner && $owner != $USER->get('id')) {
$THEME = new Theme($owner);
$THEME = new Theme((int)$owner);
}
$headers = array();
......
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