summaryrefslogtreecommitdiffstats
path: root/lib/files/mapper.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-03-12 09:15:53 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-03-12 09:15:53 +0100
commit09003016686eea2ff674136792e09db49a1f925c (patch)
treea0cbdfc590e9a6b3391f6a881c426535fc2f9d0b /lib/files/mapper.php
parent569c7ab1384c9d01255ae7bc2075edf11508d4a6 (diff)
downloadnextcloud-server-09003016686eea2ff674136792e09db49a1f925c.tar.gz
nextcloud-server-09003016686eea2ff674136792e09db49a1f925c.zip
indexed slug should be created based on logic path
Diffstat (limited to 'lib/files/mapper.php')
-rw-r--r--lib/files/mapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/mapper.php b/lib/files/mapper.php
index 520fadbd8c6..c5f1f9888db 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