From dc7f532351ff9a9fa145e9a2483be89086e0ae04 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 10 Nov 2010 16:06:11 -0500 Subject: [PATCH] Fix typo --- PLC/Methods/UpdatePersonTag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Methods/UpdatePersonTag.py b/PLC/Methods/UpdatePersonTag.py index 1cfc6ac7..804d17de 100644 --- a/PLC/Methods/UpdatePersonTag.py +++ b/PLC/Methods/UpdatePersonTag.py @@ -53,7 +53,7 @@ class UpdatePersonTag(Method): # check permission : it not admin, is the user affiliated with the right person if 'admin' not in self.caller['roles']: # check caller is affiliated with this person's person - if not self.call.can_update(person): + if not self.caller.can_update(person): raise PLCPermissionDenied, "Not a member of the person's persons: %s"%person['person_ids'] required_min_role = person_tag['min_role_id'] -- 2.47.0