diff --git a/entity/AttributeRelation_entity/grantDeleteProcess.js b/entity/AttributeRelation_entity/grantDeleteProcess.js
index e407961574cd4f10e420c5b3615f955fa5db8731..cb200b5bf984c5adbe8866c533160887bfe4e202 100644
--- a/entity/AttributeRelation_entity/grantDeleteProcess.js
+++ b/entity/AttributeRelation_entity/grantDeleteProcess.js
@@ -1,8 +1,8 @@
-import("Attribute_lib");
-import("system.result");
-import("system.vars");
-
-var objectType = vars.exists("$param.ObjectType_param") && vars.get("$param.ObjectType_param");
-var rowId = vars.exists("$param.ObjectRowId_param") && vars.get("$param.ObjectRowId_param");
-if (vars.get("$param.GetTree_param") == "true" && rowId)
-    result.object(AttributeRelationUtils.countAttributeRelations(rowId, objectType));
\ No newline at end of file
+import("Attribute_lib");
+import("system.result");
+import("system.vars");
+
+var objectType = vars.exists("$param.ObjectType_param") && vars.get("$param.ObjectType_param");
+var rowId = vars.exists("$param.ObjectRowId_param") && vars.get("$param.ObjectRowId_param");
+if (vars.get("$param.GetTree_param") == "true" && rowId)
+    result.object(AttributeRelationUtils.countAttributeRelations(rowId, objectType) != 0);
\ No newline at end of file