diff --git a/entity/ClassificationAdmin_entity/grantDeleteProcess.js b/entity/ClassificationAdmin_entity/grantDeleteProcess.js index 7c5a620b8e1200d1d117da7462ebd34fc9c6ee04..4e17fa5f17ffabc50c3fdc60bf6e268c36233869 100644 --- a/entity/ClassificationAdmin_entity/grantDeleteProcess.js +++ b/entity/ClassificationAdmin_entity/grantDeleteProcess.js @@ -6,9 +6,6 @@ import("Sql_lib"); var count = newSelect("count(*)") .from("CLASSIFICATION") .whereIfSet("CLASSIFICATION.CLASSIFICATIONTYPE_ID", "$field.CLASSIFICATIONTYPEID") - .cell(true); - -if (!count) - count = 0; + .cell(true, "0"); result.object(parseInt(count) <= 0); \ No newline at end of file