ResourceManager skips rendering a resource without an URL (#8876)

This commit is contained in:
Benedek Farkas
2025-12-04 21:54:36 +01:00
committed by GitHub
parent e5e71c70fb
commit d9d071115c

View File

@@ -97,6 +97,8 @@ namespace Orchard.UI.Resources
public static void WriteResource(TextWriter writer, ResourceDefinition resource, string url, string condition, Dictionary<string, string> attributes)
{
if (string.IsNullOrEmpty(url)) return;
if (!string.IsNullOrEmpty(condition))
{
if (condition == NotIE)