Revert "PMCORE-1129 (pull request #7298)"

This reverts pull request #7298.

> PMCORE-1129
This commit is contained in:
Paula Quispe
2020-04-16 14:21:42 +00:00
parent dc70b0db2e
commit 7f23ba1695

View File

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