This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-12-09 18:53:28 -04:00
parent 7d44d27019
commit ad4fc1beab
4 changed files with 15 additions and 22 deletions

View File

@@ -30,7 +30,10 @@ class pmDynaform
$this->fields["APP_UID"] = null;
}
if (isset($this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"])) {
$this->record["DYN_CONTENT"] = $this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"];
$decode = base64_decode($this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"], true);
if ($decode !== false) {
$this->record["DYN_CONTENT"] = $decode;
}
}
}