Code Duplication    Length = 4-4 lines in 2 locations

htdocs/modules/wflinks/include/blocksadmin.inc.php 2 locations

@@ 363-366 (lines=4) @@
360
    //$cblock->setVar('content', $bcontent);
361
    //$cblock->setVar('title', $btitle);
362
    $cblock->setVar('bcachetime', $_POST['bcachetime']);
363
    if ( isset($options) && (count($options) > 0) ) {
364
        $options = implode('|', $options);
365
        $cblock->setVar('options', $options);
366
    }
367
    $cblock->setVar('bid', 0);
368
    $cblock->setVar('block_type', $block_type == 'C' ? 'C' : 'D' );
369
    $cblock->setVar('func_num', 255);
@@ 432-435 (lines=4) @@
429
        if( isset( $bcontent ) ) $myblock->setVar('content', $bcontent);
430
        if( isset( $bctype ) ) $myblock->setVar('c_type', $bctype);
431
        $myblock->setVar('bcachetime', $bcachetime);
432
        if ( isset($options) && (count($options) > 0) ) {
433
            $options = implode('|', $options);
434
            $myblock->setVar('options', $options);
435
        }
436
        if ( $myblock->getVar('block_type') == 'C') {
437
            switch ( $myblock->getVar('c_type') ) {
438
            case 'H':