[BUGFIX] Correct trim of trailing slash
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / FolderStructure / LinkNode.php
index 0a87c12..b2b5fe6 100644 (file)
@@ -180,7 +180,7 @@ class LinkNode extends AbstractNode implements NodeInterface {
                        $result = TRUE;
                } else {
                        $actualTarget = $this->getCurrentTarget();
-                       if ($actualTarget === rtrim($expectedTarget, '/')) {
+                       if ($expectedTarget === rtrim($actualTarget, '/')) {
                                $result = TRUE;
                        }
                }