Fix Dynaform en el campo dyn_version

This commit is contained in:
Daniel Rojas
2014-07-01 09:36:57 -04:00
parent e2751ab73e
commit 0f159a4265
2 changed files with 11 additions and 1 deletions

View File

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