Code Duplication    Length = 3-3 lines in 2 locations

main/survey/survey.lib.php 2 locations

@@ 3401-3403 (lines=3) @@
3398
        echo '</form>';
3399
3400
        // Getting all the information of the x axis
3401
        if (isset($_GET['xaxis']) && is_numeric($_GET['xaxis'])) {
3402
            $question_x = SurveyManager::get_question($_GET['xaxis']);
3403
        }
3404
3405
        // Getting all the information of the y axis
3406
        if (isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
@@ 3406-3408 (lines=3) @@
3403
        }
3404
3405
        // Getting all the information of the y axis
3406
        if (isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
3407
            $question_y = SurveyManager::get_question($_GET['yaxis']);
3408
        }
3409
3410
        if (isset($_GET['xaxis']) && is_numeric($_GET['xaxis']) && isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
3411
            // Getting the answers of the two questions