We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b6a68 commit 844ef96Copy full SHA for 844ef96
front/formaccesstype.form.php
@@ -70,7 +70,7 @@
70
];
71
72
$restrictions = $_POST['restrictions'] ?? null;
73
-if (!is_null($_POST['restrictions'])) {
+if (!is_null($restrictions)) {
74
$input['users'] = AbstractRightsDropdown::getPostedIds($restrictions, User::class);
75
$input['groups'] = AbstractRightsDropdown::getPostedIds($restrictions, Group::class);
76
$input['profiles'] = AbstractRightsDropdown::getPostedIds($restrictions, Profile::class);
0 commit comments