Empty Body field results in errors

Created on 20 September 2023, about 1 year ago
Updated 22 September 2023, about 1 year ago

Problem/Motivation

If a user adds a Table block with an empty body, an error will occur:

TypeError: {closure}(): Argument #1 ($markup) must be of type Drupal\Core\Render\Markup, string given in {closure}() (line 27 of /var/www/docroot/modules/contrib/lb_table/lb_table.module).

Steps to reproduce

Add a Table block with an empty Body.

Proposed resolution

Don't error.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

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

Comments & Activities

Production build 0.71.5 2024