This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-10-05 10:04:20 -04:00
parent 0ae464a797
commit 260ae4ee33
4 changed files with 20 additions and 7 deletions

View File

@@ -23,13 +23,10 @@ class pmDynaform
$this->fields = $fields;
$this->getDynaform();
$this->getCredentials();
if (isset($this->fields["APP_UID"])) {
//current
$cases = new \ProcessMaker\BusinessModel\Cases();
} else {
//history
if (!isset($this->fields["APP_UID"])) {
$this->fields["APP_UID"] = null;
if (isset($this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"]))
}
if (isset($this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"])) {
$this->record["DYN_CONTENT"] = $this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"];
}
}