N°9409 - Designer 3.3.0 - edit dashboard fix

This commit is contained in:
Eric Espie
2026-03-23 10:51:31 +01:00
committed by odain
parent 7a153c3698
commit 85b20f34a3

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