try a third time to fix crash
This commit is contained in:
		| @@ -234,7 +234,12 @@ modpol.add_org = function(org_name, members, parent_id, properties) | |||||||
|       end |       end | ||||||
|    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, ", ") .. ")" |       " (" .. table.concat (members, ", ") .. ")" | ||||||
|  |  | ||||||
|    modpol.record (org_id, msg, 'org_init') |    modpol.record (org_id, msg, 'org_init') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user