Code Duplication    Length = 2-2 lines in 2 locations

core/helpers/EEH_Template.helper.php 2 locations

@@ 571-572 (lines=2) @@
568
        $help_text = false
569
    ) {
570
571
        if ( ! $page) {
572
            $page = isset($_REQUEST['page']) && ! empty($_REQUEST['page']) ? sanitize_key($_REQUEST['page']) : $page;
573
        }
574
575
        if ( ! $action) {
@@ 575-576 (lines=2) @@
572
            $page = isset($_REQUEST['page']) && ! empty($_REQUEST['page']) ? sanitize_key($_REQUEST['page']) : $page;
573
        }
574
575
        if ( ! $action) {
576
            $action = isset($_REQUEST['action']) && ! empty($_REQUEST['action']) ? sanitize_key($_REQUEST['action']) : $action;
577
        }
578
579
        $action = empty($action) ? 'default' : $action;