Fixing Notice in fields handler by an empty variable usage.
This commit is contained in:
@@ -320,8 +320,8 @@ class XmlForm_Field
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->renderMode == "view" && ($this->type == "text" || $this->type == "currency" || $this->type == "percentage" || $this->type == "textarea" || $this->type == "hidden" || $this->type == "suggest")){
|
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")){
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $this->sqlConnection) {
|
if (! $this->sqlConnection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user