From 8776fff2172bebbe215b1ee5e6949714c86c1118 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sat, 9 Nov 2024 02:00:25 +0300 Subject: [PATCH] CultureValue should be truthy (#16978) --- .../OrchardCore.DisplayManagement.Liquid/Values/CultureValue.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Values/CultureValue.cs b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Values/CultureValue.cs index d92c20feb05..a8ab8113a70 100644 --- a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Values/CultureValue.cs +++ b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Values/CultureValue.cs @@ -45,7 +45,7 @@ public override bool Equals(FluidValue other) return ToStringValue() == other.ToStringValue(); } - public override bool ToBooleanValue() => false; + public override bool ToBooleanValue() => true; public override decimal ToNumberValue() => 0;