diff --git a/APPL/API2/model_issues.inc b/APPL/API2/model_issues.inc index 018921c3a6..26f043b5a9 100644 --- a/APPL/API2/model_issues.inc +++ b/APPL/API2/model_issues.inc @@ -424,7 +424,6 @@ function model_issues(mld_key, params) this.REST_POST = function (params, jsondata) /* new call */ { -__Logging = 3; api2.cleanup_data(this, jsondata); // Doet een generieke dereference van alle foreign's // @@ -449,6 +448,8 @@ __Logging = 3; jsondata.account = kpkey; if (!jsondata.issuedate) jsondata.issuedate = new Date(); + if (!jsondata.priority) + jsondata.priority = 3; // if (!jsondata.contact) jsondata.contact = user_key; // Als er geen aanvrager opgegeven is, dan de huidige gebruiker invullen.