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
Unknown Object (File)
Tue, Jul 9, 12:05
Unknown Object (File)
Tue, Jul 9, 10:31
Unknown Object (File)
Tue, Jul 9, 09:38
Unknown Object (File)
Mon, Jul 8, 16:46
Unknown Object (File)
Tue, Jul 2, 21:23
Unknown Object (File)
Tue, Jul 2, 08:26
Unknown Object (File)
Mon, Jul 1, 15:19
Unknown Object (File)
Thu, Jun 27, 00:04

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