Page MenuHomePhorge

Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors
ClosedPublic

Authored by Sten on Jul 13 2023, 12:03.
Tags
None
Referenced Files
F3289487: D25345.1742848383.diff
Sun, Mar 23, 20:33
F3150016: D25345.1741221964.diff
Wed, Mar 5, 00:46
F2985520: D25345.1740062944.diff
Feb 19 2025, 14:49
F2982580: D25345.1739963379.diff
Feb 18 2025, 11:09
F2982578: D25345.1739963376.diff
Feb 18 2025, 11:09
F2982534: D25345.1739962515.diff
Feb 18 2025, 10:55
F2982455: D25345.1739960373.diff
Feb 18 2025, 10:19
F2971323: D25345.1739539689.diff
Feb 13 2025, 13:28

Details

Summary

/dashboard/adjust/remove/ POST requests fail under PHP 8.1 with strlen(null) errors.

This change fixes it.

Fixes T15549

Test Plan

View a dashboard which has some panels. Eg https://my.phorge.site/dashboard/view/1/
Click on a 'Manage Panel' dropdown and click on 'Remove Panel'

Confirm the panel is removed and no strlen(null) errors are generated.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable