Skip to content

Commit

Permalink
Update my-calendar-templates.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Aug 30, 2022
1 parent 633d29f commit 7e0b67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ function mc_search_highlight( $string1, $string2 = '', $term = '' ) {
$start = ( ( $position - 20 ) > 0 ) ? ( $position - 15 ) : 0;
}
}
$extract = substr( $use, $start, 160 );
$extract = substr( $use, $start, 160 );
$ellipsis = '';
if ( strlen( $extract ) < $length ) {
$ellipsis = '...';
Expand Down

0 comments on commit 7e0b67d

Please sign in to comment.