25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix a bug introduced in the previous commit in ejabberd_sql_pt

This commit is contained in:
Alexey Shchepin 2017-11-20 15:13:26 +03:00
parent 6a0e24fb14
commit 19975962ea

View File

@ -713,7 +713,7 @@ set_pos(Tree, Pos) ->
filter_upsert_sh(Table, ParseRes) ->
case ?USE_NEW_SCHEMA of
true ->
ParseRes;
{ParseRes, []};
false ->
lists:foldr(
fun({Field, _Match, ST} = P, {Acc, Vars}) ->