diff --git a/entity/ObjectRelationType_entity/entityfields/type2enabled_proxy/valueProcess.js b/entity/ObjectRelationType_entity/entityfields/type2enabled_proxy/valueProcess.js index 18be71e8d7bce5838f512cda9b43a1f59ebb76d2..76cd3a259e093b7308b52ea448ee3a2ed49fd69f 100644 --- a/entity/ObjectRelationType_entity/entityfields/type2enabled_proxy/valueProcess.js +++ b/entity/ObjectRelationType_entity/entityfields/type2enabled_proxy/valueProcess.js @@ -1,5 +1,5 @@ import("system.vars"); import("system.result"); -if (vars.get("$this.value") == null) +if (vars.get("$this.value") == null || vars.get("$this.value") == "") result.string(vars.get("$field.DIRECTION") == "same" ? 0 : 1); \ No newline at end of file