From b36d2c7da1facab3de8e25504331120c76aa3b2b Mon Sep 17 00:00:00 2001 From: Enrique Ponce De Leon Date: Thu, 14 Apr 2011 15:12:52 -0400 Subject: [PATCH] BUG 6642 Currency fields do not pass value to next step - Changes applied at 2.0.16 - Fix same problem to view mode for yes/no fields --- 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 95eddb281..a1dee4573 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1928,7 +1928,7 @@ class XmlForm_Field_YesNo extends XmlForm_Field $value = $this->getPMTableValue($owner); } if ($value == '') $value = '0'; - if ($this->renderMode = '') $this->renderMode = $this->mode; + if ($this->renderMode == '') $this->renderMode = $this->mode; $html = ''; if ($this->renderMode == 'edit'){ //EDIT MODE $readOnlyText = ($this->readonly == 1 || $this->readonly == '1') ? 'disabled' : '';