diff options
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index e31c8e717..07eb573f5 100644 --- a/globals.pl +++ b/globals.pl @@ -1217,7 +1217,7 @@ sub UserCanBlessGroup { WHERE groups.id = grantor_id AND user_group_map.user_id = $::userid AND user_group_map.isbless = 0 - AND group_group_map.isbless = 1 + AND group_group_map.grant_type = " . GROUP_BLESS . " AND user_group_map.group_id = member_id AND groups.name = " . SqlQuote($groupname)); $result = FetchOneColumn(); |