#18316: Fixing multi-tenancy on themes without tags

Work Item: 18316

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-01-04 16:05:11 -08:00
parent 45bd3d69df
commit de31c6a759
@@ -48,7 +48,7 @@ namespace Orchard.MultiTenancy.Services {
ExtensionDescriptor theme = descriptor; ExtensionDescriptor theme = descriptor;
if (!theme.Tags.Contains("hidden")) { if (theme.Tags == null || !theme.Tags.Contains("hidden")) {
themes.Add(theme); themes.Add(theme);
} }
} }