Issue-5605: Fixes notice

This commit is contained in:
Michael 2018-08-12 08:00:37 +00:00
parent faefafd4f8
commit b3931d066c

View File

@ -1472,7 +1472,7 @@ class PortableContact
$tags = []; $tags = [];
foreach ($data['tags'] as $tag) { foreach ($data['tags'] as $tag) {
$tag = mb_strtolower($tag); $tag = mb_strtolower($tag);
if (count($tag) < 100) { if (strlen($tag) < 100) {
$tags[$tag] = $tag; $tags[$tag] = $tag;
} }
} }