From 0772f4c61623b8270c31a40f6d0a4b9c05181c6b Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 12 Apr 2023 15:07:04 +0200 Subject: [PATCH] MOBILE-4193 course: Fix 'Invalid regular expression' error --- src/core/features/course/classes/module-base-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/features/course/classes/module-base-handler.ts b/src/core/features/course/classes/module-base-handler.ts index 6c278c502..9f1235964 100644 --- a/src/core/features/course/classes/module-base-handler.ts +++ b/src/core/features/course/classes/module-base-handler.ts @@ -86,7 +86,7 @@ export class CoreModuleHandlerBase implements Partial { return modicon; } - return CoreCourse.getModuleIconSrc(module.name, modicon); + return CoreCourse.getModuleIconSrc(module.modname, modicon); } }