Skip to content

Commit

Permalink
Correct parameter mb_substr_count call
Browse files Browse the repository at this point in the history
  • Loading branch information
SL-Gundam committed Apr 5, 2018
1 parent b0bf7af commit aee1aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/mail_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ private function identify_replies( $p_description )
$t_email_separator1 = mb_substr( $this->_email_separator1, 0, -1 );

$t_first_occurence = mb_strpos( $t_description, $t_email_separator1 );
if ( $t_first_occurence !== FALSE && mb_substr_count( $t_description, $t_email_separator1, $t_first_occurence ) >= 5 )
if ( $t_first_occurence !== FALSE && mb_substr_count( $t_description, $t_email_separator1 ) >= 5 )
{
$t_description = mb_substr( $t_description, 0, $t_first_occurence );
}
Expand Down

0 comments on commit aee1aea

Please # to comment.