diff options
-rw-r--r-- | src/couchdb/couch_stats_aggregator.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_stats_aggregator.erl b/src/couchdb/couch_stats_aggregator.erl index 83340c01..5497884a 100644 --- a/src/couchdb/couch_stats_aggregator.erl +++ b/src/couchdb/couch_stats_aggregator.erl @@ -270,7 +270,7 @@ get_stats(Key, State) -> % Thanks to Paul Davis do_get_all(#state{aggregates=Stats}=State) -> case Stats of - [] -> {[{}]}; + [] -> {[]}; _ -> [{LastMod, LastVals} | LastRestMods] = lists:foldl(fun({{Module, Key}, _Count}, AccIn) -> case AccIn of |