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
F1449840: D25345.diff
Wed, Feb 28, 16:51
Unknown Object (File)
Sun, Feb 25, 06:44
Unknown Object (File)
Sat, Feb 24, 08:53
Unknown Object (File)
Sat, Feb 24, 06:32
Unknown Object (File)
Sat, Feb 24, 06:32
Unknown Object (File)
Thu, Feb 22, 02:00
Unknown Object (File)
Sun, Feb 18, 07:13
Unknown Object (File)
Sun, Feb 18, 07:13

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
Branch
removePanel (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 666
Build 666: arc lint + arc unit