diff --git a/src/Umbraco.Core/Scoping/Scope.cs b/src/Umbraco.Core/Scoping/Scope.cs index 819bc515edae..7015cee5ebd0 100644 --- a/src/Umbraco.Core/Scoping/Scope.cs +++ b/src/Umbraco.Core/Scoping/Scope.cs @@ -602,11 +602,11 @@ private void IncrementRequestedWriteLock(params int[] lockIds) { if (WriteLocks.ContainsKey(lockId)) { - WriteLocks[lockId] = 1; + WriteLocks[lockId] += 1; } else { - WriteLocks[lockId] += 1; + WriteLocks[lockId] = 1; } } }