Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/core/Classes/Database/QueryView.php 2 locations

@@ 446-448 (lines=3) @@
443
                        $fullQueryString = $selectQueryString;
444
                        $dataRows = $connection->executeQuery($selectQueryString)->fetchAll();
445
                    }
446
                    if (!$this->backendUserAuthentication->userTS['mod.']['dbint.']['disableShowSQLQuery']) {
447
                        $output .= '<h2>SQL query</h2><div><pre>' . htmlspecialchars($fullQueryString) . '</pre></div>';
448
                    }
449
                    $cPR = $this->getQueryResultCode($mQ, $dataRows, $queryGenerator->table);
450
                    $output .= '<h2>' . $cPR['header'] . '</h2><div>' . $cPR['content'] . '</div>';
451
                } catch (DBALException $e) {
@@ 452-454 (lines=3) @@
449
                    $cPR = $this->getQueryResultCode($mQ, $dataRows, $queryGenerator->table);
450
                    $output .= '<h2>' . $cPR['header'] . '</h2><div>' . $cPR['content'] . '</div>';
451
                } catch (DBALException $e) {
452
                    if (!$this->backendUserAuthentication->userTS['mod.']['dbint.']['disableShowSQLQuery']) {
453
                        $output .= '<h2>SQL query</h2><div><pre>' . htmlspecialchars($fullQueryString) . '</pre></div>';
454
                    }
455
                    $out = '<p><strong>Error: <span class="text-danger">'
456
                        . $e->getMessage()
457
                        . '</span></strong></p>';