Fix U4-2320 - Error on saving User Permissions

Nodes can be null but NodeIds property always returns a collection and this will return Ids from Nodes if _nodeIds are null and Nodes is not.
This commit is contained in:
david.pendray
2013-06-13 02:50:25 +01:00
parent 292dd9115b
commit 773500332b

View File

@@ -402,7 +402,7 @@ namespace Umbraco.Web.Cache
{
DistributedCache.Instance.RefreshUserCache(sender.UserId);
}
if (sender.Nodes.Any())
if (sender.NodeIds.Any())
{
DistributedCache.Instance.RefreshAllUserCache();
}