From 135083928cbb1554e10968f3bc85ceb7688863fd Mon Sep 17 00:00:00 2001 From: Alvaro Campos Date: Thu, 28 Jul 2011 10:36:40 -0400 Subject: [PATCH] BUG 6881 solucionado problema con campos tipo file en modo view --- gulliver/system/class.xmlform.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index af5f6e0ba..bf4eced3b 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -2195,7 +2195,8 @@ class XmlForm_Field_File extends XmlForm_Field { function render($value = NULL) { $mode = ($this->mode == 'view') ? ' disabled="disabled"' : ''; if($this->mode == 'view'){ - $html = ''; + $displayStyle = 'display:none;'; + $html = $value.''; }else{ $html = ''; }