Merge code from github to bitbucket 2014-08-14
This commit is contained in:
@@ -319,6 +319,15 @@ class XmlForm_Field
|
||||
if ($this->sql === '') {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(isset($this->mode) && $this->mode == "edit" && (isset($this->owner->values[$this->name]) && $this->owner->values[$this->name] !== "")){
|
||||
return 1;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (! $this->sqlConnection) {
|
||||
$this->sqlConnection = 'workflow';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user