Skip to content
Snippets Groups Projects
Commit c8807cd3 authored by Elke Kreim's avatar Elke Kreim
Browse files

Change operator or to ||

parent 9e0f48b6
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ function local_hshexport_extend_navigation_course($navigation, $course, $context
global $PAGE, $SITE;
// Only add this settings item on non-site course pages.
if (!$PAGE->course or $PAGE->course->id == $SITE->id) {
if (!$PAGE->course || $PAGE->course->id == $SITE->id) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment