Permalink
Browse files

Use extra array instead of extending record

  • Loading branch information...
1 parent d7721cf commit d7e94204b7f50277f51ab2f792b8b18c54ba5896 @kocolosk kocolosk committed with Robert Newson Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/chttpd_view.erl
View
@@ -353,7 +353,7 @@ validate_view_query(conflicts, true, Args) ->
"is invalid for reduce views.">>,
throw({query_parse_error, Msg});
_ ->
- Args#view_query_args{conflicts = true}
+ Args#view_query_args{extra = [conflicts|Args#view_query_args.extra]}
end;
validate_view_query(conflicts, _Value, Args) ->
Args;

0 comments on commit d7e9420

Please sign in to comment.