mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 07:58:57 +01:00
Fix SQL Error: 'Column 'ckey' cannot be null' in AdminRanks (#9655)
This commit is contained in:
@@ -208,6 +208,9 @@ var/list/forum_groupids_to_ranks = list()
|
||||
return TRUE
|
||||
|
||||
/proc/insert_user_to_admins_table(datum/forum_user/user)
|
||||
if(isnull(user.ckey))
|
||||
log_debug("AdminRanks: [user.forum_name] does not have a ckey linked - Ignoring")
|
||||
return
|
||||
var/rights = 0
|
||||
|
||||
for (var/group_id in (user.forum_secondary_groups + user.forum_primary_group))
|
||||
|
||||
Reference in New Issue
Block a user