diff --git a/.gitignore b/.gitignore index 976524a46..b951fad8a 100755 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,3 @@ workflow/public_html/build-log.html temp.txt update.sh workflow/public_html/translations/ - diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index d6555fe30..0522c559d 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -320,7 +320,7 @@ class XmlForm_Field return 1; } - if(isset($this->mode) && $this->mode == "edit" && (isset($this->owner->values[$this->name]) && $this->owner->values[$this->name] !== "")){ + if(isset($this->mode) && $this->mode == "edit" && (isset($this->owner->values[$this->name]) && $this->owner->values[$this->name] !== "") && ($this->type == "text" || $this->type == "currency" || $this->type == "percentage" || $this->type == "textarea" || $this->type == "hidden" || $this->type == "suggest")){ return 1; }