Intern altijd kaal data-record zonder model-wrapper

svn path=/Website/trunk/; revision=25729
This commit is contained in:
Jos Groot Lipman
2015-07-27 14:53:53 +00:00
parent 744d3e36ec
commit b4e77146c6
9 changed files with 42 additions and 31 deletions

View File

@@ -73,8 +73,6 @@ function model_reportsx(usrrap_key, params)
this._analyze_fields = function (dbfields, params, jsondata) /* analyseer inkomende data, common voor PUT en POST */
{
if ("report" in jsondata)
jsondata = jsondata.report; // dereference
if (user.oslogin() != "_FACILITOR") // Die mag alles
{
user.auth_required_or_abort(this.is_safe_view(jsondata.viewname));