Removed child org from parent children list
This commit is contained in:
1 parent
ec0e4aa9c1
commit
13eb58a3ee
5 files changed
+42
-18
No files matched your search
@@ -152,7 +152,9 @@ function modpol.interactions.org_dashboard(user, org_string)
|
||||
local children = {}
|
||||
for k,v in ipairs(org.children) do
|
||||
local this_child = modpol.orgs.get_org(v)
|
||||
table.insert(children, this_child.name)
|
||||
if this_child then
|
||||
table.insert(children, this_child.name)
|
||||
end
|
||||
end
|
||||
|
||||
-- prepare modules menu
|
||||
|
||||
Reference in new issue
Block a user