diff --git a/src/providers/sites.ts b/src/providers/sites.ts index 5dd85965b..b25283c92 100644 --- a/src/providers/sites.ts +++ b/src/providers/sites.ts @@ -431,6 +431,8 @@ export class CoreSitesProvider { */ getDemoSiteData(name: string): any { const demoSites = CoreConfigConstants.demo_sites; + name = name.toLowerCase(); + if (typeof demoSites != 'undefined' && typeof demoSites[name] != 'undefined') { return demoSites[name]; }