Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 640-644 (lines=5) @@
637
    } else {
638
        $grand_parent_element = "";
639
    }
640
    if (sizeof($element_pile) >= 4) {
641
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
642
    } else {
643
        $great_grand_parent_element = "";
644
    }
645
646
647
    if ($record_item_body) {
@@ 774-778 (lines=5) @@
771
    } else {
772
        $grand_parent_element = "";
773
    }
774
    if (sizeof($element_pile) >= 4) {
775
        $great_grand_parent_element = $element_pile[sizeof($element_pile) - 4];
776
    } else {
777
        $great_grand_parent_element = "";
778
    }
779
780
    //treat the record of the full content of itembody tag :
781