Code Duplication    Length = 7-7 lines in 2 locations

manager/includes/controls/phpmailer/PHPMailer.php 2 locations

@@ 2116-2122 (lines=7) @@
2113
                    if (!$firstword) {
2114
                        if ($space_left > 20) {
2115
                            $len = $space_left;
2116
                            if ($is_utf8) {
2117
                                $len = $this->utf8CharBoundary($word, $len);
2118
                            } elseif ('=' == substr($word, $len - 1, 1)) {
2119
                                --$len;
2120
                            } elseif ('=' == substr($word, $len - 2, 1)) {
2121
                                $len -= 2;
2122
                            }
2123
                            $part = substr($word, 0, $len);
2124
                            $word = substr($word, $len);
2125
                            $buf .= ' ' . $part;
@@ 2137-2143 (lines=7) @@
2134
                            break;
2135
                        }
2136
                        $len = $length;
2137
                        if ($is_utf8) {
2138
                            $len = $this->utf8CharBoundary($word, $len);
2139
                        } elseif ('=' == substr($word, $len - 1, 1)) {
2140
                            --$len;
2141
                        } elseif ('=' == substr($word, $len - 2, 1)) {
2142
                            $len -= 2;
2143
                        }
2144
                        $part = substr($word, 0, $len);
2145
                        $word = substr($word, $len);
2146