ProcessMaker-BE "DynaForm small fix (DYN_CONTENT)"

- DynaForm small fix (DYN_CONTENT)
This commit is contained in:
Victor Saisa Lopez
2014-06-27 14:48:00 -04:00
parent 58c82213f8
commit 0157f694ea
2 changed files with 7 additions and 6 deletions

View File

@@ -170,6 +170,10 @@ class Dynaform extends BaseDynaform
$this->setDynType( isset( $aData['DYN_TYPE'] ) ? $aData['DYN_TYPE'] : 'xmlform' );
$this->setDynFilename( $aData['PRO_UID'] . PATH_SEP . $dynUid );
if (isset($aData["DYN_CONTENT"])) {
$this->setDynContent($aData["DYN_CONTENT"]);
}
if ($this->validate()) {
$con->begin();
$res = $this->save();