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

joachim’s picture

Status: Active » Fixed

Commit bd4bf1bb0412a0dd7610fa38f230a199871208a4.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.