Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/impexp/Classes/ImportExport.php 1 location

@@ 1153-1155 (lines=3) @@
1150
            }
1151
            // Traverse remaining in import record:
1152
            foreach ($importRecord as $fN => $value) {
1153
                if (is_array($GLOBALS['TCA'][$table]['columns'][$fN]) && $GLOBALS['TCA'][$table]['columns'][$fN]['config']['type'] !== 'passthrough') {
1154
                    $output[$fN] = '<strong>Field missing</strong> in database';
1155
                }
1156
            }
1157
            // Create output:
1158
            if (!empty($output)) {

typo3/sysext/backend/Classes/Utility/BackendUtility.php 1 location

@@ 1717-1719 (lines=3) @@
1714
    public static function getItemLabel($table, $col)
1715
    {
1716
        // Check if column exists
1717
        if (is_array($GLOBALS['TCA'][$table]) && is_array($GLOBALS['TCA'][$table]['columns'][$col])) {
1718
            return $GLOBALS['TCA'][$table]['columns'][$col]['label'];
1719
        }
1720
1721
        return null;
1722
    }