diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index a3022abaa..21c64f3ee 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->renderMode) && $this->renderMode == "view" && ($this->type == "text" || $this->type == "currency" || $this->type == "percentage" || $this->type == "textarea" || $this->type == "hidden" || $this->type == "suggest")){ + if(isset($this->mode) && $this->mode == "view" && ($this->type == "text" || $this->type == "currency" || $this->type == "percentage" || $this->type == "textarea" || $this->type == "hidden" || $this->type == "suggest")){ return 1; }