Code Duplication    Length = 3-3 lines in 2 locations

admin/blocksadmin.php 1 location

@@ 230-232 (lines=3) @@
227
           . "<br><br>\n";
228
        break;
229
    case ('order'):
230
        if (!$GLOBALS['xoopsSecurity']->check()) {
231
            $helper->redirect('admin/blocksadmin.php', Constants::REDIRECT_DELAY_MEDIUM, implode('<br>', $GLOBALS['xoopsSecurity']->getErrors()));
232
        }
233
        $bid           = Request::getArray('bid', [], 'POST');
234
        $oldtitle      = Request::getArray('oldtitle', [], 'POST');
235
        $title         = Request::getArray('title', [], 'POST');

admin/feedback.php 1 location

@@ 59-61 (lines=3) @@
56
        break;
57
    case 'send':
58
        // Security Check
59
        if (!$GLOBALS['xoopsSecurity']->check()) {
60
            $helper->redirect('admin/index.php', Constants::REDIRECT_DELAY_MEDIUM, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
61
        }
62
63
        $GLOBALS['xoopsTpl']->assign('navigation', $adminObject->displayNavigation('feedback.php'));
64