Skip to content
Snippets Groups Projects
Commit fe0dedc1 authored by srosse's avatar srosse
Browse files

OO-3668: fix calendar course visitor always returning false

parent a2638c21
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ public class CourseCalendars { ...@@ -206,7 +206,7 @@ public class CourseCalendars {
CourseNode rootNode = course.getRunStructure().getRootNode(); CourseNode rootNode = course.getRunStructure().getRootNode();
CalCourseNodeVisitor v = new CalCourseNodeVisitor(); CalCourseNodeVisitor v = new CalCourseNodeVisitor();
new TreeVisitor(new CalCourseNodeVisitor(), rootNode, true).visitAll(); new TreeVisitor(v, rootNode, true).visitAll();
return v.isFound(); return v.isFound();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment