Completed
Pull Request — master (#2)
by
unknown
03:33
created
Classes/MOC/SynchronizeUrl/Package.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
 				
30 30
 				$initialUriPathSegment = $newUriPathSegment;
31 31
             	$i = 1;
32
-            	while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="' . $newUriPathSegment . '"]')->count() > 0) {
33
-                	$newUriPathSegment = $initialUriPathSegment . '-' . $i++;
32
+            	while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="'.$newUriPathSegment.'"]')->count() > 0) {
33
+                	$newUriPathSegment = $initialUriPathSegment.'-'.$i++;
34 34
             	}
35 35
             	
36 36
 				$node->setProperty('uriPathSegment', $newUriPathSegment);
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 				
40 40
 				$initialUriPathSegment = $newUriPathSegment;
41 41
             	$i = 1;
42
-            	while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="' . $newUriPathSegment . '"]')->count() > 0) {
43
-                	$newUriPathSegment = $initialUriPathSegment . '-' . $i++;
42
+            	while ($q->siblings('[instanceof TYPO3.Neos:Document][uriPathSegment="'.$newUriPathSegment.'"]')->count() > 0) {
43
+                	$newUriPathSegment = $initialUriPathSegment.'-'.$i++;
44 44
             	}
45 45
 				
46 46
 				$node->setProperty('uriPathSegment', $newUriPathSegment);
Please login to merge, or discard this patch.