LURANA CORE #118 Issue with Variables in Credit Process, added validation for not existing property

This commit is contained in:
Fernando Ontiveros
2025-04-15 12:27:26 +00:00
parent 80b46c1567
commit 818395f1a3

View File

@@ -1715,7 +1715,7 @@ class PmDynaform
}
}
//update variable
if ($key === "var_name" && $json->var_uid === $oldVariable["VAR_UID"]) {
if ($key === "var_name" && isset($json->var_uid) && $json->var_uid === $oldVariable["VAR_UID"]) {
$json->var_name = $newVariable["VAR_NAME"];
}
if ($key === "var_field_type" && $json->var_uid === $oldVariable["VAR_UID"]) {