Merge branch 'try_num_3' into 'master'
try a third time to fix crash See merge request medlabboulder/modpol!8
This commit is contained in:
commit
27ad3dd4a5
@ -234,7 +234,12 @@ modpol.add_org = function(org_name, members, parent_id, properties)
|
||||
end
|
||||
end
|
||||
|
||||
local msg = "New org: " .. org_name .. " ["..org_id.."], parent = ".. parent_org_id or ""..", members = "..
|
||||
local parent_id_str = "none"
|
||||
if parent_org_id then
|
||||
parent_id_str = tostring(parent_org_id)
|
||||
end
|
||||
|
||||
local msg = "New org: " .. org_name .. " ["..org_id.."], parent = ".. parent_id_str ..", members = "..
|
||||
" (" .. table.concat (members, ", ") .. ")"
|
||||
|
||||
modpol.record (org_id, msg, 'org_init')
|
||||
|
Loading…
x
Reference in New Issue
Block a user