mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
Designer 3.3.0 - edit dashboard fix
This commit is contained in:
@@ -1387,7 +1387,7 @@ class DesignerIconSelectionField extends DesignerFormField
|
|||||||
public function AddAllowedValue($aValue)
|
public function AddAllowedValue($aValue)
|
||||||
{
|
{
|
||||||
// Add a null value to the list of allowed values
|
// 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)
|
public function EnableUpload($sIconUploadUrl)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user