mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02:00
Fix SQL serialization
The regression is introduced in 11829906ac
Fixes #2121
This commit is contained in:
parent
0e5b343f1b
commit
a57c694f21
@ -822,7 +822,7 @@ opts_to_binary(Opts) ->
|
||||
{description, iolist_to_binary(Desc)};
|
||||
({password, Pass}) ->
|
||||
{password, iolist_to_binary(Pass)};
|
||||
({subject, Subj}) ->
|
||||
({subject, [C|_] = Subj}) when is_integer(C), C >= 0, C =< 255 ->
|
||||
{subject, iolist_to_binary(Subj)};
|
||||
({subject_author, Author}) ->
|
||||
{subject_author, iolist_to_binary(Author)};
|
||||
|
Loading…
Reference in New Issue
Block a user