Code Duplication    Length = 6-9 lines in 3 locations

account/create-advisor-observers.php 1 location

@@ 244-252 (lines=9) @@
241
        /* flows into $STEP_INSTRUCTIONS */
242
243
    case $STEP_INSTRUCTIONS:
244
    default:
245
        $toolbox->smarty_assign([
246
            'terms' => $toolbox->getTermList(),
247
            'formHidden' => [
248
                'step' => $STEP_GENERATE,
249
                'account' => $_SESSION[ACCOUNT_ID]
250
            ]
251
        ]);
252
        $toolbox->smarty_display(basename(__FILE__, '.php') . '/instructions.tpl');
253
}
254
255
$toolbox->cache_popKey();

account/download-observers-csv.php 1 location

@@ 85-90 (lines=6) @@
82
        /* flows into $STEP_INSTRUCTIONS */
83
84
    case $STEP_INSTRUCTIONS:
85
    default:
86
        $toolbox->smarty_assign('formHidden', [
87
            'step' => $STEP_CSV,
88
            'account' => $_SESSION[ACCOUNT_ID]
89
        ]);
90
        $toolbox->smarty_display(basename(__FILE__, '.php') . '/instructions.tpl');
91
}
92
93
$toolbox->cache_popKey();

account/rename-advisory-groups.php 1 location

@@ 63-71 (lines=9) @@
60
        /* fall through into $STEP_INSTRUCTIONS */
61
62
    case $STEP_INSTRUCTIONS:
63
    default:
64
        $toolbox->smarty_assign([
65
            'terms' => $toolbox->getTermList(),
66
            'formHidden' => [
67
                'step' => $STEP_RENAME,
68
                'account' => $_SESSION['accountId']
69
            ]
70
        ]);
71
        $toolbox->smarty_display(basename(__FILE__, '.php') . '/instructions.tpl');
72
}
73