diff --git a/lib/files/mapper.php b/lib/files/mapper.php index 520fadbd8c634389d45e122e6a1aeba1f18c787b..c5f1f9888dbce11ab7c22eb2909787db040e8e9c 100644 --- a/lib/files/mapper.php +++ b/lib/files/mapper.php @@ -149,7 +149,7 @@ class Mapper // detect duplicates while ($this->resolvePhysicalPath($physicalPath) !== null) { - $physicalPath = $this->slugifyPath($physicalPath, $index++); + $physicalPath = $this->slugifyPath($logicPath, $index++); } // insert the new path mapping if requested