Skip to content
Snippets Groups Projects
Verified Commit e950d6c5 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix bug in preferences view

parent 4a4b50e5
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,7 @@ def preferences(
raise PermissionDenied()
elif registry_name == "person":
registry = person_preferences_registry
instance = objectgetter_optional(Person, None, False)(request, pk)
instance = objectgetter_optional(Person, "request.user.person", True)(request, pk)
form_class = PersonPreferenceForm
if not request.user.has_perm("core.change_person_preferences", instance):
......
Subproject commit bc3d5ef8d4294919ec28109b61dced73f0351c6a
Subproject commit 5794ef636b70c617cca8e2ed14ed0f8ff0b038d9
Subproject commit e63e4f1eaf69dad34b7a6ea01b9bb6ec346e5c10
Subproject commit 83d471417a1e1b9e4ed693a66291163b900240ba
Subproject commit 7d2535921c5b006f86901c1866f2c04d94121653
Subproject commit fce4605a878e073ce883d4b0abe7194d0ce2f554
Subproject commit 737b68ccc53167bf07a169cf57682e85de41cf15
Subproject commit 352b2391bc1cf5bfb5ab7420af77b5657d325c1a
Subproject commit 8ad16deb662ee98378f9da25af981e56d1c96f7c
Subproject commit e66f07400539b7e0c948cb35f7c460387e3d0a89
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment