|
@@ -30,8 +30,8 @@ |
|
|
block discarded – undo |
|
30
|
30
|
|
|
31
|
31
|
$initialUriPathSegment = $newUriPathSegment; |
|
32
|
32
|
$i = 1; |
|
33
|
|
- while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="' . $newUriPathSegment . '"]')->count() > 0) { |
|
34
|
|
- $newUriPathSegment = $initialUriPathSegment . '-' . $i++; |
|
|
33
|
+ while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="'.$newUriPathSegment.'"]')->count() > 0) { |
|
|
34
|
+ $newUriPathSegment = $initialUriPathSegment.'-'.$i++; |
|
35
|
35
|
} |
|
36
|
36
|
|
|
37
|
37
|
$node->setProperty('uriPathSegment', $newUriPathSegment); |
Please login to merge, or discard this patch.