Line adding 'function' criteria is missing last 'is_string' parameter, as 'function' is a string criteria ('average', 'sum', count'):
_votingapi_query_builder('function', $criteria['function'], $query, $args);
it should be:
_votingapi_query_builder('function', $criteria['function'], $query, $args, TRUE);
Comments
Comment #1
eaton commentedThanks. This fix has been checked in and is part of the dev branch.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.