From 7e0b67d19f5866565ba505db93e637f59526e35b Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Tue, 30 Aug 2022 14:42:10 -0500 Subject: [PATCH] Update my-calendar-templates.php --- src/my-calendar-templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/my-calendar-templates.php b/src/my-calendar-templates.php index 53a612818..8b6f041fc 100644 --- a/src/my-calendar-templates.php +++ b/src/my-calendar-templates.php @@ -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 = '...';