Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 634-638 (lines=5) @@
631
    } else {
632
        $grand_parent_element = "";
633
    }
634
    if (sizeof($element_pile) >= 4) {
635
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
636
    } else {
637
        $great_grand_parent_element = "";
638
    }
639
640
641
    if ($record_item_body) {
@@ 768-772 (lines=5) @@
765
    } else {
766
        $grand_parent_element = "";
767
    }
768
    if (sizeof($element_pile) >= 4) {
769
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
770
    } else {
771
        $great_grand_parent_element = "";
772
    }
773
774
    //treat the record of the full content of itembody tag :
775