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
F3852921: D25345.1746144012.diff
Thu, May 1, 00:00
F3852417: D25345.1746123824.diff
Wed, Apr 30, 18:23
F3828398: D25345.1746058755.diff
Wed, Apr 30, 00:19
F3825916: D25345.1746029993.diff
Tue, Apr 29, 16:19
F3825396: D25345.1746027046.diff
Tue, Apr 29, 15:30
F3802026: D25345.1745972725.diff
Tue, Apr 29, 00:25
F3778346: D25345.1745890401.diff
Mon, Apr 28, 01:33
F3766748: D25345.1745846576.diff
Sun, Apr 27, 13:22

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