diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php
index 6b71a84aa..f35216215 100644
--- a/application/forms.class.inc.php
+++ b/application/forms.class.inc.php
@@ -1205,14 +1205,19 @@ class DesignerIconSelectionField extends DesignerFormField
$sPostUploadTo = ($this->sUploadUrl == null) ? 'null' : "'{$this->sUploadUrl}'";
if (!$this->IsReadOnly())
{
+ $sValue = "defaultValue}\"/>";
$oP->add_ready_script(
<<';
+ }
$sReadOnly = $this->IsReadOnly() ? 'disabled' : '';
- return array('label' =>$this->sLabel, 'value' => "defaultValue}\"/>");
+ return array('label' => $this->sLabel, 'value' => $sValue);
}
}