]> source.dussan.org Git - nextcloud-server.git/commitdiff
indexed slug should be created based on logic path
authorThomas Mueller <thomas.mueller@tmit.eu>
Tue, 12 Mar 2013 08:15:53 +0000 (09:15 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Tue, 12 Mar 2013 08:15:53 +0000 (09:15 +0100)
lib/files/mapper.php

index 520fadbd8c634389d45e122e6a1aeba1f18c787b..c5f1f9888dbce11ab7c22eb2909787db040e8e9c 100644 (file)
@@ -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