fix infinite recursion when checking for Windows timezones without "Standard Time" prefix

This commit is contained in:
ralf 2024-06-13 20:19:23 +02:00
parent 96b6ef5c8c
commit f5e266f2c6

View File

@ -114,7 +114,7 @@ class calendar_timezones
}
}
// check for a Windows timezone without "Standard Time" postfix
if (!isset($id) && strpos($tzid, '/') === false)
if (!isset($id) && stripos($tzid, ' Standard Time') === false)
{
$id = self::tz2id($tzid.' Standard Time');
}