indexed slug should be created based on logic path

This commit is contained in:
Thomas Mueller 2013-03-12 09:15:53 +01:00
parent 569c7ab138
commit 0900301668

View 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