MantisBT: master-2.25 d7c5f12f

Author Committer Branch Timestamp Parent
dregad dregad master-2.25 2021-12-23 14:11 master 9890268d
Affected Issues  0022555: Regression in custom field sorting
 0029413: APPLICATION ERROR 1300 Custom field not found with case-sensitive database
Changeset

Custom field id lookup by name now case-insensitive

The $g_cache_name_to_id_map now uses lowercase custom field names as key
which prevents APPLICATION ERROR 1300 Custom field not found when using
a case-sensitive database.

This is a follow-up on issue 0022555, which did not properly fix the
problem (see commit c612d8da318a95bd2d4b8d9b6b6f4329d12e86fa).

Fixes 0029413

mod - core/custom_field_api.php Diff File