mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing bug with null reference on Tags
This commit is contained in:
@@ -120,7 +120,7 @@ namespace Orchard.Themes.Services {
|
||||
|
||||
ExtensionDescriptor theme = descriptor;
|
||||
|
||||
if (!theme.Tags.Contains("hidden")) {
|
||||
if (theme.Tags == null || !theme.Tags.Contains("hidden")) {
|
||||
themes.Add(theme);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user