Warning body is empty

Created on 12 August 2024, 4 months ago
Updated 26 August 2024, 4 months ago

Problem/Motivation

Need to check that the value is set before accessing the array or it triggers a warning.

$body = (!empty($body)) ? $body[0]['value'] : NULL;

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada phjou Vancouver 🇨🇦 🇪🇺

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

Comments & Activities

Production build 0.71.5 2024