Commit 8b6cbc39 authored by Dmitrii Metelkin's avatar Dmitrii Metelkin Committed by Gerrit Code Review

Merge "Bug 1688693: Need to cast the $owner an integer"

parents 9fc17351 ace8b80f
......@@ -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