This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-04-29 16:22:52 -04:00
parent ca6c078661
commit fc76d32a66
2 changed files with 4 additions and 4 deletions

View File

@@ -180,6 +180,10 @@ class Dynaform extends BaseDynaform
$aData['DYN_VERSION'] = 0;
}
$this->setDynVersion( $aData['DYN_VERSION'] );
if (!isset($aData['DYN_CONTENT'])) {
$aData['DYN_CONTENT'] = "{}";
}
$this->setDynContent( $aData['DYN_CONTENT'] );
if ($this->validate()) {
$con->begin();
$res = $this->save();