diff --git a/src/core/course/pages/section/section.ts b/src/core/course/pages/section/section.ts index 1a048fc84..9289f5d46 100644 --- a/src/core/course/pages/section/section.ts +++ b/src/core/course/pages/section/section.ts @@ -171,6 +171,10 @@ export class CoreCourseSectionPage implements OnDestroy { // Error getting the course, probably guest access. }).then((course) => { if (course) { + if (this.course.id === course.id && this.course.hasOwnProperty('displayname') + && !course.hasOwnProperty('displayname')) { + course.displayname = this.course.displayname; + } this.course = course; }