Skip to content

Commit aee1aea

Browse files
committed
Correct parameter mb_substr_count call
1 parent b0bf7af commit aee1aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/mail_api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ private function identify_replies( $p_description )
16101610
$t_email_separator1 = mb_substr( $this->_email_separator1, 0, -1 );
16111611

16121612
$t_first_occurence = mb_strpos( $t_description, $t_email_separator1 );
1613-
if ( $t_first_occurence !== FALSE && mb_substr_count( $t_description, $t_email_separator1, $t_first_occurence ) >= 5 )
1613+
if ( $t_first_occurence !== FALSE && mb_substr_count( $t_description, $t_email_separator1 ) >= 5 )
16141614
{
16151615
$t_description = mb_substr( $t_description, 0, $t_first_occurence );
16161616
}

0 commit comments

Comments
 (0)