BUG 12395 History log no refleja verdaderos datos historicos IMPROVEMENTS

This commit is contained in:
Julio Cesar Laura
2014-05-23 11:21:27 -04:00
parent 5dd3bea25d
commit 237bfbac2c

View File

@@ -3739,7 +3739,7 @@ class XmlForm_Field_Listbox extends XmlForm_Field
$html .= $this->renderHint(); $html .= $this->renderHint();
return $html; return $html;
} elseif ($this->mode === 'view') { } elseif ($this->mode === 'view') {
$valuesFound = array(); $valuesFound = array('__NULL__');
$html = '<select multiple="multiple" id="form[' . $this->name . ']" ' . $this->NSFieldType() . ' name="form[' . $this->name . '][]" size="' . $this->size . '" ' . $this->NSFieldType() . ' style="background: none;" disabled="disabled">'; $html = '<select multiple="multiple" id="form[' . $this->name . ']" ' . $this->NSFieldType() . ' name="form[' . $this->name . '][]" size="' . $this->size . '" ' . $this->NSFieldType() . ' style="background: none;" disabled="disabled">';
foreach ($this->option as $optionName => $option) { foreach ($this->option as $optionName => $option) {
if (in_array( $optionName . "", $value )) { if (in_array( $optionName . "", $value )) {
@@ -3959,7 +3959,7 @@ class XmlForm_Field_CheckGroup extends XmlForm_Field
} //fin for } //fin for
return $html; return $html;
} elseif ($this->mode === 'view') { } elseif ($this->mode === 'view') {
$valuesFound = array(); $valuesFound = array('__NULL__');
$html = ''; $html = '';
foreach ($this->options as $optionName => $option) { foreach ($this->options as $optionName => $option) {
if (in_array( $optionName . "", $value )) { if (in_array( $optionName . "", $value )) {