Closed (fixed)
Project:
Voting API
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2008 at 18:57 UTC
Updated:
20 Jun 2008 at 00:14 UTC
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.