Correct use of forcetimezone

This commit is contained in:
moodler
2005-04-11 07:48:54 +00:00
parent 4ab00ace5b
commit 3f0b2d4c46
+1 -1
View File
@@ -209,7 +209,7 @@ if (isadmin()) {
<td>
<?php
$timezones = get_list_of_timezones();
if (!empty($CFG->forcetimezone)) {
if ($CFG->forcetimezone != 99) {
choose_from_menu($timezones, 'timezone', $CFG->forcetimezone, get_string('serverlocaltime'), '', '99', false, true);
} else {
choose_from_menu($timezones, 'timezone', $user->timezone, get_string('serverlocaltime'), '', '99');