Merge pull request from annando/issue-5605

Issue-5605: Fixes notice
This commit is contained in:
Tobias Diekershoff 2018-08-13 06:38:36 +02:00 committed by GitHub
commit 20eb72a1d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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