We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6aaf4b commit 10d2528Copy full SHA for 10d2528
src/Umbraco.Core/Models/Content.cs
@@ -237,7 +237,7 @@ public IEnumerable<string> EditedCultures
237
public bool IsCulturePublished(string culture)
238
// just check _publishInfos
239
// a non-available culture could not become published anyways
240
- => _publishInfos != null && _publishInfos.ContainsKey(culture);
+ => !culture.IsNullOrWhiteSpace() && _publishInfos != null && _publishInfos.ContainsKey(culture);
241
242
/// <inheritdoc />
243
public bool IsCultureEdited(string culture)
0 commit comments