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 acaa620 commit fb12873Copy full SHA for fb12873
src/lib/Specification/Location/IsWithinCopySubtreeLimit.php
@@ -44,7 +44,7 @@ public function isSatisfiedBy($item): bool
44
return false;
45
}
46
47
- return $this->copyLimit >= $this->locationService->getSubtreeSize($item);
+ return $this->copyLimit >= $this->locationService->getSubtreeSize($item, $this->copyLimit + 1);
48
49
50
private function isContainer(Location $location): bool
0 commit comments