PLAT#39567: issuedate is niet verplicht bij nieuwe meldingen, gewoon default nu
svn path=/Website/branches/v2017.2/; revision=35511
This commit is contained in:
@@ -445,6 +445,8 @@ function model_issues(mld_key, params)
|
||||
api2.error(500, "Account could not be validated");
|
||||
}
|
||||
jsondata.account = kpkey;
|
||||
if (!jsondata.issuedate)
|
||||
jsondata.issuedate = new Date();
|
||||
|
||||
//
|
||||
if (!jsondata.contact) jsondata.contact = user_key; // Als er geen aanvrager opgegeven is, dan de huidige gebruiker invullen.
|
||||
|
||||
Reference in New Issue
Block a user