fixes #2088 case-insensitive check for history.section autofill

This commit is contained in:
plegall
2024-01-18 11:26:02 +01:00
parent 496a323509
commit e3cda5108a

View File

@@ -476,7 +476,10 @@ UPDATE '.USER_INFOS_TABLE.'
$conf['history_sections_cache'] = safe_unserialize($conf['history_sections_cache']);
if (in_array($page['section'], $conf['history_sections_cache']))
if (
in_array($page['section'], $conf['history_sections_cache'])
or in_array(strtolower($page['section']), array_map('strtolower', $conf['history_sections_cache']))
)
{
$section = $page['section'];
}