We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a3fe61 commit 5956082Copy full SHA for 5956082
Model/ShortContentExtractor.php
@@ -93,7 +93,7 @@ public function execute($content, $len = null, $endСharacters = null)
93
}
94
95
/* Skip long HTML */
96
- $stcc = trim(strip_tags($cc));
+ $stcc = trim(strip_tags((string)$cc));
97
//if ($stcc && strlen($stcc) < strlen($cc) / 3) {
98
if ($stcc && $len < mb_strlen($content)) {
99
$str = '';
0 commit comments