mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
WebAdmin: Fix crash when viewing SRG created using ejabberd 24.02 (#4245)
This commit is contained in:
parent
f1739ce34d
commit
ce95f1f25a
@ -1934,7 +1934,7 @@ srg_get_displayed(Group, Host) ->
|
|||||||
error ->
|
error ->
|
||||||
[]
|
[]
|
||||||
end,
|
end,
|
||||||
proplists:get_value(displayed_groups, Opts).
|
proplists:get_value(displayed_groups, Opts, []).
|
||||||
|
|
||||||
srg_add_displayed(Group, Host, NewGroup) ->
|
srg_add_displayed(Group, Host, NewGroup) ->
|
||||||
Opts =
|
Opts =
|
||||||
|
Loading…
Reference in New Issue
Block a user