Page MenuHomePhabricator

CRM_Core_PseudoConstant::get ignores "entity_table" option
Closed, DeclinedPublic

Description

It's possible to pass an entity_table=contribution_tracking param to CRM_Core_BAO_EntityTag, and fall through all the code paths (context==null) that cause that parameter to actually not be respected by CRM_Core_PseudoConstant::get.

This is a bug, and probably affects lots of things. Seems that tags for all tables will be returned rather than just the table you care about.