Avoid #state.lang type errors in corner cases
If #state.lang is used before being initialized to some binary string, the translation code would crash.
This commit is contained in:
parent
6d1055abec
commit
bb2c8b59f8
|
@ -107,7 +107,7 @@
|
|||
auth_module = unknown,
|
||||
ip,
|
||||
aux_fields = [],
|
||||
lang}).
|
||||
lang = <<"">>}).
|
||||
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
|
|
Loading…
Reference in New Issue