Revision 284
Added by stefan almost 19 years ago
trunk/wb/admin/settings/save.php | ||
---|---|---|
122 | 122 |
while($setting = $results->fetchRow()) { |
123 | 123 |
$setting_name = $setting['name']; |
124 | 124 |
$value = $admin->get_post($setting_name); |
125 |
if ($value!=null || $setting_name=='default_timezone' || $setting_name=='string_dir_mode' || $setting_name=='string_file_mode') {
|
|
125 |
if ($setting_name!='wb_version') {
|
|
126 | 126 |
$value = $admin->add_slashes($value); |
127 | 127 |
switch ($setting_name) { |
128 | 128 |
case 'default_timezone': |
... | ... | |
160 | 160 |
$admin->print_success($MESSAGE['SETTINGS']['SAVED'], ADMIN_URL.'/settings/index.php'.$advanced); |
161 | 161 |
$admin->print_footer(); |
162 | 162 |
|
163 |
?> |
|
163 |
?> |
Also available in: Unified diff
Fixed bug #122. Replaced empty field check by check with setting name n.e. wb_version.