MantisBT: master d7316184

Author Committer Branch Timestamp Parent
dregad dregad master 2012-12-06 11:13 master d0807051
Affected Issues  0015265: custom_field_get_id_from_name() doesn't cache result of obsolete custom field names
Changeset

Cache obsolete custom field names

If a custom field name changed, custom_field_get_id_from_name() keeps
asking the database for an id over and over again (e.g. for every
change of the field in the bug history) to decide if it should be
displayed.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015265

mod - core/custom_field_api.php Diff File