Code Duplication    Length = 5-5 lines in 2 locations

main/exercice/export/exercise_import.inc.php 2 locations

@@ 623-627 (lines=5) @@
620
    } else {
621
        $grand_parent_element = "";
622
    }
623
    if (sizeof($element_pile) >= 4) {
624
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
625
    } else {
626
        $great_grand_parent_element = "";
627
    }
628
629
630
    if ($record_item_body) {
@@ 762-766 (lines=5) @@
759
    } else {
760
        $grand_parent_element = "";
761
    }
762
    if (sizeof($element_pile) >= 4) {
763
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
764
    } else {
765
        $great_grand_parent_element = "";
766
    }
767
768
    //treat the record of the full content of itembody tag :
769