Skip to content

Commit 5956082

Browse files
authored
Update ShortContentExtractor.php
1 parent 9a3fe61 commit 5956082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/ShortContentExtractor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function execute($content, $len = null, $endСharacters = null)
9393
}
9494

9595
/* Skip long HTML */
96-
$stcc = trim(strip_tags($cc));
96+
$stcc = trim(strip_tags((string)$cc));
9797
//if ($stcc && strlen($stcc) < strlen($cc) / 3) {
9898
if ($stcc && $len < mb_strlen($content)) {
9999
$str = '';

0 commit comments

Comments
 (0)