From 4a1818823aee6959214502b02b5f9d27374bf18e Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 14 Jan 2022 12:15:06 +0200 Subject: [PATCH] increase post length to 256 chars --- src/system/helper/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helper/filter.php b/src/system/helper/filter.php index f380d5a..d1098e0 100644 --- a/src/system/helper/filter.php +++ b/src/system/helper/filter.php @@ -84,7 +84,7 @@ class Filter { $string = preg_replace('/[^\s\w\.\,\:\;\@\?\!\+\`\&\^\%\#\=\-\_\~\*\/\(\)\[\]\<\>\"\']+/u', '', (string) $string); - $string = mb_substr($string, 0, 140); + $string = mb_substr($string, 0, 256); return $string; }