Code Duplication    Length = 3-3 lines in 2 locations

src/controllers/DisplayController.php 2 locations

@@ 79-81 (lines=3) @@
76
        if (isset($_REQUEST['subject']) && isset($_REQUEST[$_REQUEST['subject']])) {
77
            if ($_REQUEST['subject'] == 'table') {
78
                $this->printHeader($lang['strtables'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
79
            } elseif ($_REQUEST['subject'] == 'view') {
80
                $this->printHeader($lang['strviews'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
81
            } elseif ($_REQUEST['subject'] == 'matview') {
82
                $this->printHeader('M' . $lang['strviews'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
83
            } elseif ($_REQUEST['subject'] == 'column') {
84
                $this->printHeader($lang['strcolumn'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
@@ 83-85 (lines=3) @@
80
                $this->printHeader($lang['strviews'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
81
            } elseif ($_REQUEST['subject'] == 'matview') {
82
                $this->printHeader('M' . $lang['strviews'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
83
            } elseif ($_REQUEST['subject'] == 'column') {
84
                $this->printHeader($lang['strcolumn'] . ': ' . $_REQUEST[$_REQUEST['subject']], $scripts, true, $header_template);
85
            }
86
        } else {
87
            $this->printHeader($lang['strqueryresults'], $scripts, true, $header_template);
88
        }