mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Accept 'undefined' as a language and treat it as the empty string.
SVN Revision: 1522
This commit is contained in:
parent
85c2097ece
commit
44d3e844a3
@ -1,3 +1,8 @@
|
||||
2008-08-14 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* translate.erl (ascii_tolower): Accept 'undefined' as a language and
|
||||
treat it as the empty string.
|
||||
|
||||
2008-08-06 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* src/mod_offline.erl, src/mod_offline_odbc.erl, src/mod_echo.erl,
|
||||
|
@ -159,5 +159,6 @@ ascii_tolower([C | Cs]) when C >= $A, C =< $Z ->
|
||||
ascii_tolower([C | Cs]) ->
|
||||
[C | ascii_tolower(Cs)];
|
||||
ascii_tolower([]) ->
|
||||
[];
|
||||
ascii_tolower(undefined) ->
|
||||
[].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user