Code Duplication    Length = 3-3 lines in 2 locations

catalog/includes/OSC/OM/PagesAbstract.php 2 locations

@@ 67-69 (lines=3) @@
64
    {
65
        $furious_pete = [];
66
67
        if (count($_GET) > $this->site->actions_index) {
68
            $furious_pete = array_keys(array_slice($_GET, $this->site->actions_index, null, true));
69
        }
70
71
        if (!empty($furious_pete)) {
72
            $action = HTML::sanitize(basename($furious_pete[0]));
@@ 127-129 (lines=3) @@
124
    {
125
        $actions = $furious_pete = [];
126
127
        if (count($_GET) > $this->site->actions_index) {
128
            $furious_pete = array_keys(array_slice($_GET, $this->site->actions_index, null, true));
129
        }
130
131
        foreach ($furious_pete as $action) {
132
            $action = HTML::sanitize(basename($action));