2009-06-18 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_config.php: Fix save change language in setup.
	Fixes: #2777463
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-06-18 14:49:25 +00:00
parent 5cd858babc
commit 2620c0204d
3 changed files with 10 additions and 3 deletions

View File

@ -4,6 +4,7 @@ Jorge Gonzalez <jorge.gonzalez@artica.es>
Raul Mateos <raulofpandora@gmail.com> Raul Mateos <raulofpandora@gmail.com>
Ramon Novoa <ramon.novoa@artica.es> Ramon Novoa <ramon.novoa@artica.es>
Evi Vanoost <vanooste@rcbi.rochester.edu> Evi Vanoost <vanooste@rcbi.rochester.edu>
Miguel de Dios <miguel.dedios@artica.es
See full list of contributors on: See full list of contributors on:

View File

@ -1,3 +1,8 @@
2009-06-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: Fix save change language in setup.
Fixes: #2777463
2009-06-10 Esteban Sanchez <estebans@artica.es> 2009-06-10 Esteban Sanchez <estebans@artica.es>
* operation/events/events.php: Removed all events on select elements. * operation/events/events.php: Removed all events on select elements.

View File

@ -76,9 +76,10 @@ function update_config () {
$style = substr ($style, 0, strlen ($style) - 4); $style = substr ($style, 0, strlen ($style) - 4);
/* Workaround for ugly language and language_code missmatch */ /* Workaround for ugly language and language_code missmatch */
$config['language_code'] = (string) get_parameter ('language', $config["language"]); //$config['language_code'] = (string) get_parameter ('language', $config["language"]);
update_config_value ('language_code', $config['language_code']); update_config_value ('language_code', (string) get_parameter ('language', $config["language"]));
$config["language"] = $config['language_code']; //$config["language"] = $config['language_code'];
$config["language"] = (string) get_parameter ('language', $config["language"]);
update_config_value ('remote_config', (string) get_parameter ('remote_config', $config["remote_config"])); update_config_value ('remote_config', (string) get_parameter ('remote_config', $config["remote_config"]));
update_config_value ('block_size', (int) get_parameter ('block_size', $config["block_size"])); update_config_value ('block_size', (int) get_parameter ('block_size', $config["block_size"]));