PMCORE-1129

This commit is contained in:
Andrea Adamczyk
2020-03-30 11:14:02 -04:00
parent c94d78847d
commit f7234fdc11

View File

@@ -1741,8 +1741,7 @@ class PmDynaform
return false;
}
foreach ($result as $row) {
$dynaform = new PmDynaform(["CURRENT_DYNAFORM" => $row->DYN_UID]);
$json = G::json_decode($dynaform->record["DYN_CONTENT"]);
$json = G::json_decode($row->DYN_CONTENT);
if ($this->jsoni($json, $variable)) {
return $row->DYN_UID;
}