Skip to content

Commit b48f212

Browse files
committed
fixed: use correct function for wire post length
1 parent 06971af commit b48f212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function thewire_tools_save_post(string $text, int $userid, int $access_id = nul
7878
$limit = thewire_tools_get_wire_length();
7979
if ($limit > 0) {
8080
$text_for_size = elgg_strip_tags($text);
81-
if (strlen($text_for_size) > $limit) {
81+
if (elgg_strlen($text_for_size) > $limit) {
8282
return false;
8383
}
8484
}

0 commit comments

Comments
 (0)