diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php index 283965be9..83f17c6ab 100644 --- a/application/forms.class.inc.php +++ b/application/forms.class.inc.php @@ -1334,7 +1334,8 @@ class DesignerIconSelectionField extends DesignerFormField $sPostUploadTo = ($this->sUploadUrl == null) ? 'null' : "'{$this->sUploadUrl}'"; if (!$this->IsReadOnly()) { - $sValue = "defaultValue}\"/>"; + $sDefaultValue = ($this->defaultValue !== '') ? : $this->aAllowedValues[$idx]['value']; + $sValue = ""; $oP->add_ready_script( <<