Code Duplication    Length = 4-5 lines in 2 locations

application/libraries/MY_Pagination.php 2 locations

@@ 133-136 (lines=4) @@
130
131
            if ($i == 0 && $this->first_url != '') {
132
                $output .= $this->prev_tag_open . '<a ' . $this->anchor_class . 'href="' . $this->first_url . '">' . $this->prev_link . '</a>' . $this->prev_tag_close;
133
            } else {
134
                $i = ($i == 0) ? '' : $this->prefix . $i . $this->suffix;
135
                $output .= $this->prev_tag_open . '<a ' . $this->anchor_class . 'href="' . $this->base_url . $i . '">' . $this->prev_link . '</a>' . $this->prev_tag_close;
136
            }
137
138
        }
139
@@ 158-162 (lines=5) @@
155
156
                        if ($n == '' && $this->first_url != '') {
157
                            $output .= $this->num_tag_open . '<a ' . $this->anchor_class . 'href="' . $this->first_url . '">' . $loop . '</a>' . $this->num_tag_close;
158
                        } else {
159
                            $n = ($n == '') ? '' : $this->prefix . $n . $this->suffix;
160
161
                            $output .= $this->num_tag_open . '<a ' . $this->anchor_class . 'href="' . $this->base_url . $n . '">' . $loop . '</a>' . $this->num_tag_close;
162
                        }
163
                    }
164
                }
165
            }