Fixes appendformat issue

This commit is contained in:
Shannon
2013-12-19 12:40:41 +11:00
parent d98801d5d1
commit 4558549d5a

View File

@@ -102,7 +102,7 @@ namespace Umbraco.Web
if (contextualKeyBuilder != null)
{
var contextualKey = contextualKeyBuilder(model, viewData);
cacheKey.Append("c{0}-", contextualKey);
cacheKey.AppendFormat("c{0}-", contextualKey);
}
return ApplicationContext.Current.ApplicationCache.CachedPartialView(htmlHelper, partialViewName, model, cachedSeconds, cacheKey.ToString(), viewData);
}