Code Duplication    Length = 4-4 lines in 2 locations

main/inc/lib/icalcreator/iCalcreator.class.php 2 locations

@@ 1447-1450 (lines=4) @@
1444
        } // end - if( is_array( $this->unparsed.. .
1445
        /* parse Components */
1446
        if( is_array( $this->components ) && ( 0 < count( $this->components ))) {
1447
            for( $six = 0; $six < count( $this->components ); $six++ ) {
1448
                if( !empty( $this->components[$six] ))
1449
                    $this->components[$six]->parse();
1450
            }
1451
        }
1452
        else
1453
            return FALSE;                   /* err 91 or something.. . */
@@ 6584-6587 (lines=4) @@
6581
        } // end - foreach( $proprows.. .
6582
        unset( $this->unparsed, $proprows );
6583
        if( isset( $this->components ) && is_array( $this->components ) && ( 0 < count( $this->components ))) {
6584
            for( $six = 0; $six < count( $this->components ); $six++ ) {
6585
                if( !empty( $this->components[$six]->unparsed ))
6586
                    $this->components[$six]->parse();
6587
            }
6588
        }
6589
    }
6590
    /*********************************************************************************/