Code Duplication    Length = 3-3 lines in 2 locations

admin/partners.php 1 location

@@ 56-58 (lines=3) @@
53
        break;
54
55
    case 'save':
56
        if ( !$GLOBALS['xoopsSecurity']->check() ) {
57
            redirect_header( 'index.php', 0, $GLOBALS['xoopsSecurity']->getErrors( true ) );
58
        }
59
        // Diplay navigation menu
60
        $menu_handler->render( 1 );
61
        $id = xoopsPartners_CleanVars( $_REQUEST, $partners_handler->keyName, 0, 'int' );

join.php 1 location

@@ 44-46 (lines=3) @@
41
        $obj->displayJoinForm();
42
        break;
43
        case 'save':
44
            if ( !$GLOBALS['xoopsSecurity']->check() ) {
45
                redirect_header( 'index.php', 0, $GLOBALS['xoopsSecurity']->getErrors( true ) );
46
            }
47
            // Diplay navigation menu
48
            $menu_handler->render( 1 );
49
            $id = xoopsPartners_CleanVars( $_REQUEST, $partners_handler->keyName, 0, 'int' );