Code Duplication    Length = 3-3 lines in 2 locations

main/gradebook/gradebook_flatview.php 1 location

@@ 57-59 (lines=3) @@
54
    $alllinks = null;
55
}
56
57
if (isset($export_flatview_form) && (!$file_type == 'pdf')) {
58
    Display::addFlash(Display::return_message($export_flatview_form->toHtml(), 'normal', false));
59
}
60
61
if (isset($_GET['selectcat'])) {
62
    $category_id = (int) $_GET['selectcat'];

main/wiki/wiki.inc.php 1 location

@@ 6184-6186 (lines=3) @@
6181
                        get_lang('Yes').'</a>
6182
                    </p>';
6183
6184
                    if (!isset($_GET['delete'])) {
6185
                        Display::addFlash(
6186
                            $title.Display::return_message(
6187
                                $message,
6188
                                'warning',
6189
                                false