Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 628-632 (lines=5) @@
625
    } else {
626
        $grand_parent_element = "";
627
    }
628
    if (sizeof($element_pile) >= 4) {
629
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
630
    } else {
631
        $great_grand_parent_element = "";
632
    }
633
634
635
    if ($record_item_body) {
@@ 767-771 (lines=5) @@
764
    } else {
765
        $grand_parent_element = "";
766
    }
767
    if (sizeof($element_pile) >= 4) {
768
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
769
    } else {
770
        $great_grand_parent_element = "";
771
    }
772
773
    //treat the record of the full content of itembody tag :
774