Code Duplication    Length = 3-3 lines in 2 locations

main/survey/survey.lib.php 2 locations

@@ 3348-3350 (lines=3) @@
3345
        echo '</form>';
3346
3347
        // Getting all the information of the x axis
3348
        if (isset($_GET['xaxis']) && is_numeric($_GET['xaxis'])) {
3349
            $question_x = SurveyManager::get_question($_GET['xaxis']);
3350
        }
3351
3352
        // Getting all the information of the y axis
3353
        if (isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
@@ 3353-3355 (lines=3) @@
3350
        }
3351
3352
        // Getting all the information of the y axis
3353
        if (isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
3354
            $question_y = SurveyManager::get_question($_GET['yaxis']);
3355
        }
3356
3357
        if (isset($_GET['xaxis']) && is_numeric($_GET['xaxis']) && isset($_GET['yaxis']) && is_numeric($_GET['yaxis'])) {
3358
            // Getting the answers of the two questions