[BUGFIX] Show hidden translated record only once in clipboard
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Clipboard / Clipboard.php
index 2699ad8..6e23ca6 100644 (file)
@@ -491,6 +491,10 @@ class Clipboard
                     $queryBuilder->expr()->neq(
                         $tcaCtrl['languageField'],
                         $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)
                     $queryBuilder->expr()->neq(
                         $tcaCtrl['languageField'],
                         $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)
+                    ),
+                    $queryBuilder->expr()->gt(
+                        'pid',
+                        $queryBuilder->createNamedParameter(-1, \PDO::PARAM_INT)
                     )
                 );
 
                     )
                 );