Fatal error when using the Diff module

Created on 18 June 2023, over 1 year ago
Updated 19 June 2023, over 1 year ago

Problem/Motivation

When trying to use the Diff module. I got a fatal error. Because the styles attribute is at some point a string and not an array.

Proposed resolution

In Attributes utility getClasses()

    if (\is_string($classes)) {
      $classes = \explode(' ', $classes);
    }

I will provide a patch in the coming days.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024