From cf3761eb2e3685aacf2678daab5c1a4bae562788 Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Thu, 17 Jun 2021 10:09:07 +0200 Subject: [PATCH] Fix #17906 : fix access denied --- htdocs/user/notify/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php index 469823f0358..978c2d990b7 100644 --- a/htdocs/user/notify/card.php +++ b/htdocs/user/notify/card.php @@ -72,7 +72,7 @@ $permissiontoadd = (($object->id == $user->id) || (!empty($user->rights->user->u if ($user->socid) { $id = $user->socid; } -$result = restrictedArea($user, 'user', '', ''); +$result = restrictedArea($user, 'user', '', '', 'user'); /*