2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Fixed wrong condition when global configuration for "flash_charts" option is override by user value. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c217eadef4
commit
8ac591eddb
|
@ -1,3 +1,8 @@
|
|||
2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/config_process.php: Fixed wrong condition when global
|
||||
configuration for "flash_charts" option is override by user value.
|
||||
|
||||
2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/db/oracle.php: Added new functions for Oracle support.
|
||||
|
|
|
@ -104,9 +104,9 @@ if (isset ($config['id_user'])){
|
|||
}
|
||||
|
||||
// If block_size or flash_chart are provided then override global settings
|
||||
if (!empty($userinfo["block_size"]) && $userinfo["block_size"] != 0)
|
||||
if (!empty($userinfo["block_size"]) && ($userinfo["block_size"] != 0))
|
||||
$config["block_size"] = $userinfo["block_size"];
|
||||
if (!empty($userinfo["flash_charts"]) && $userinfo["flash_charts"] == -1)
|
||||
if ($userinfo["flash_chart"] != -1)
|
||||
$config["flash_charts"] = $userinfo["flash_chart"];
|
||||
|
||||
// Each user could have it's own timezone)
|
||||
|
|
Loading…
Reference in New Issue