Commit 22a7fa71 authored by Ruslan Kabalin's avatar Ruslan Kabalin Committed by Richard Mansfield
Browse files

Missing variable setting check in display_title function (lib/view.php).


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent fddd13fe
......@@ -2698,7 +2698,7 @@ class View {
$title = '<strong>' . hsc($this->title) . '</strong>';
}
if ($ownerlink) {
if (isset($ownerlink)) {
return get_string('viewtitleby', 'view', $title, $ownerlink, $ownername);
}
......
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