Code Duplication    Length = 3-3 lines in 2 locations

admin/blocksadmin.php 1 location

@@ 525-527 (lines=3) @@
522
    }
523
524
    if ('order' === $op) {
525
        if (!$GLOBALS['xoopsSecurity']->check()) {
526
            redirect_header($_SERVER['PHP_SELF'], 3, implode('<br>', $GLOBALS['xoopsSecurity']->getErrors()));
527
        }
528
        foreach (array_keys($bid) as $i) {
529
            if ($oldtitle[$i] != $title[$i] || $oldweight[$i] != $weight[$i] || $oldvisible[$i] != $visible[$i]
530
                || $oldside[$i] != $side[$i]

admin/feedback.php 1 location

@@ 52-54 (lines=3) @@
49
50
    case 'send':
51
        // Security Check
52
        if (!$GLOBALS['xoopsSecurity']->check()) {
53
            redirect_header('index.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
54
        }
55
56
        $GLOBALS['xoopsTpl']->assign('navigation', $adminObject->displayNavigation('feedback.php'));
57