Designer 3.3.0 - edit dashboard fix

This commit is contained in:
Eric Espie
2026-03-23 10:51:31 +01:00
parent 90ace885cd
commit 9b2259726b

View File

@@ -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)
{