(cp e3cda5108) fixes #2088 case-insensitive check for history.section autofill

This commit is contained in:
plegall
2024-01-18 11:29:13 +01:00
parent 73a8722977
commit 427d8c864f
+4 -1
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'];
}