25
1
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:
Badlop 2024-07-08 10:53:50 +02:00
parent f1739ce34d
commit ce95f1f25a

View File

@ -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 =