File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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+ }
You can’t perform that action at this time.
0 commit comments