- Issue created by @Nishant
- Status changed to Needs review
9 months ago 7:54am 11 October 2023 - last update
9 months ago 77 pass - Status changed to RTBC
9 months ago 12:09pm 11 October 2023 - 🇮🇳India Raveen Kumar
@Nishant,
I have reviewed your code in the patch, it checks if $values['description'] is set, and if it's not set (null or undefined), it assigns an empty string as a default value. This is done to prevent the deprecated warning when trim is applied to a null value.
It's a good practice to handle potentially missing or null values to prevent unexpected issues in code.
Can be moved to RTBC++
And Thank you for your work. - Issue was unassigned.
- Status changed to Fixed
8 months ago 10:07am 21 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.