fixed typo preventing creation of new events, if no timezone pref is set (should show just the server timezone)

This commit is contained in:
Ralf Becker 2009-12-24 01:00:16 +00:00
parent e9beccdeb7
commit 8b24fa4ed3

View File

@ -522,7 +522,7 @@ class egw_time extends DateTime
}
if (!$user_tzs) // if we have no user timezones, eg. user set no pref --> use server default
{
$user_tzs = array($GLOBALS['egw_info']['server']['sever_timezone']);
$user_tzs = array($GLOBALS['egw_info']['server']['server_timezone']);
}
if ($extra && !in_array($extra,$user_tzs))
{