We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06971af commit b48f212Copy full SHA for b48f212
lib/functions.php
@@ -78,7 +78,7 @@ function thewire_tools_save_post(string $text, int $userid, int $access_id = nul
78
$limit = thewire_tools_get_wire_length();
79
if ($limit > 0) {
80
$text_for_size = elgg_strip_tags($text);
81
- if (strlen($text_for_size) > $limit) {
+ if (elgg_strlen($text_for_size) > $limit) {
82
return false;
83
}
84
0 commit comments