From 9b2259726b781a015f10b0c1af2fcc1201d9eb14 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Mon, 23 Mar 2026 10:51:31 +0100 Subject: [PATCH] Designer 3.3.0 - edit dashboard fix --- application/forms.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php index d1fd70fc8a..61f62ded64 100644 --- a/application/forms.class.inc.php +++ b/application/forms.class.inc.php @@ -1387,7 +1387,7 @@ class DesignerIconSelectionField extends DesignerFormField public function AddAllowedValue($aValue) { // Add a null value to the list of allowed values - $this->aAllowedValues = array_merge([$aValue], $this->aAllowedValues); + $this->aAllowedValues = array_merge([$aValue], $this->aAllowedValues ?? [null]); } public function EnableUpload($sIconUploadUrl) {