Skip to content
Snippets Groups Projects
Commit 83a1f147 authored by defcon0's avatar defcon0 Committed by Eli Stone
Browse files

Issue #3313467 by Defcon0: PHP 8.1:

parent 136056e6
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ function template_preprocess_responsive_image_formatter_link_to_image_style_form
$attributes = [];
// Do not output an empty 'title' attribute.
if (mb_strlen($item->title) != 0) {
if (mb_strlen((string) $item->title) != 0) {
$attributes['title'] = $item->title;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment