From b85391961dafc29943596e6f0e00e2b08bfa6278 Mon Sep 17 00:00:00 2001 From: jennylee Date: Thu, 14 Aug 2014 14:49:09 -0400 Subject: [PATCH 1/2] BUG-15198 Problemas con querys en fields. Se aumenta una validacion para el caso en que el campo este en modo 'edit' y tenga ya datos almacenados, en este caso no se ejecutara el query y se mostrara el valor ya almacenado. --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 2e40da9af..e47f6306b 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; } From bc388e02ab889dcfe48df6db994df45164ea1ac6 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Thu, 14 Aug 2014 15:21:59 -0400 Subject: [PATCH 2/2] Merge code from github to bitbucket 2014-08-14 15:23 --- .gitignore | 1 - 1 file changed, 1 deletion(-) 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/ -