mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
ResourceManager skips rendering a resource without an URL (#8876)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user