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
This commit is contained in:
@@ -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' : '';
|
||||
|
||||
Reference in New Issue
Block a user