Merge pull request #5606 from annando/issue-5605
Issue-5605: Fixes notice
This commit is contained in:
commit
20eb72a1d3
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue