HSLE#55738: object -> registreer een melding.

svn path=/Website/branches/v2018.2/; revision=40192
This commit is contained in:
Maykel Geerdink
2018-12-12 10:30:17 +00:00
parent 4ce6a98ecc
commit 85b41fb697

View File

@@ -137,7 +137,7 @@ if (mld_key == -1 || copy)
if (urole == "xx")
{
var authparamsMLDFOF = user.checkAutorisation("WEB_MLDFOF", true, disc);
var authparamsMLDFOF = user.checkAutorisation("WEB_MLDFOF", true, disc > 0? disc : null);
if (mld_key < 0)
{
var mldfof_write = authparamsMLDFOF && (authparamsMLDFOF.PRSwritelevel < 9 && authparamsMLDFOF.ALGwritelevel < 9);