Skip to content

Commit 049d086

Browse files
authored
Fix compatibility issue
1 parent 11eafad commit 049d086

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ActiveCollab/EmailReplyExtractor/Extractor/GoogleMailExtractor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function processLines() {
1313
parent::processLines();
1414

1515
list ($unwanted_text, $cut_line) = self::getLinesFromEnd(1);
16-
$unwanted_text = implode(null, $unwanted_text);
16+
$unwanted_text = implode('', $unwanted_text);
1717

1818
// strip 'first name last name wrote:'
1919
if (preg_match('/(.*?)wrote:/is', $unwanted_text)) {
@@ -25,12 +25,12 @@ function processLines() {
2525
// strip default signature
2626
if ($match_string) {
2727
list ($default_signature, $cut_line) = self::getLinesFromEnd(1);
28-
$default_signature = implode(null, $default_signature);
28+
$default_signature = implode('', $default_signature);
2929
if (preg_match('/' . $match_string . '/is', $default_signature)) {
3030
$this->body= array_splice($this->body, 0, $cut_line);
3131
}
3232
}
3333

3434
$this->stripSignature();
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)