Closed (fixed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
Flag core
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2014 at 21:23 UTC
Updated:
17 Mar 2014 at 21:30 UTC
Jump to comment: Most recent
In flag_get_flag_counts(), the query adds a field that doesn't exist on the {flag_counts} table.
This doesn't cause an error, because the query is made into a count query, and doing that causes the query builder to throw away the fields before it executes the query.
However, it's confusing to developers trying to read the code to have a field that makes no sense!
Comments
Comment #1
joachim commentedCommit bd4bf1bb0412a0dd7610fa38f230a199871208a4.