Project

General

Profile

« Previous | Next » 

Revision 1214

Added by MaGnaL almost 15 years ago

Ticket #832: Fix wrong configuration of timezone-handling when saving preferences-form on backend and frontend

View differences:

index.php
123 123
	if(TIME_FORMAT == $format AND !isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
124 124
		$template->set_var('SELECTED', ' selected="selected"');
125 125
	} elseif($format == 'system_default' AND isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
126
		$template->set_var('SELECTED', 'selected');
126
		$template->set_var('SELECTED', ' selected="selected"');
127 127
	} else {
128 128
		$template->set_var('SELECTED', '');
129 129
	}
......
157 157
								'TEXT_TIME_FORMAT' => $TEXT['TIME_FORMAT'],
158 158
								'TEXT_CURRENT_PASSWORD' => $TEXT['CURRENT_PASSWORD'],
159 159
								'TEXT_NEW_PASSWORD' => $TEXT['NEW_PASSWORD'],
160
								'TEXT_RETYPE_NEW_PASSWORD' => $TEXT['RETYPE_NEW_PASSWORD']
160
								'TEXT_RETYPE_NEW_PASSWORD' => $TEXT['RETYPE_NEW_PASSWORD'],
161
								'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
161 162
								)
162 163
						);
163 164

  

Also available in: Unified diff