This commit is contained in:
Stephan
2018-05-08 16:41:37 +02:00
parent b1faade9b0
commit 6d1f42c9b6
3 changed files with 7 additions and 4 deletions

View File

@@ -91,8 +91,10 @@ namespace Umbraco.Web.PublishedCache.NuCache
{
ContextualizeVariation(ref culture, ref segment);
return _sourceValue != null &&
(!(_sourceValue is string) || string.IsNullOrWhiteSpace((string) _sourceValue) == false);
var sourceValue = GetSourceValue(culture, segment);
return sourceValue != null &&
(!(sourceValue is string) || string.IsNullOrWhiteSpace((string) sourceValue) == false);
}
// used to cache the CacheValues of this property