diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c90bc4018b..45e12e24fe 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-04-21 Junichi Satoh + + * include/functions_config.php: Fixed SQL error with PostgreSQL. + 2012-04-21 Junichi Satoh * include/help/ja/help_network_map.php: Updated description to diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 82f5ee2d11..59fbf440e2 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -700,7 +700,7 @@ function config_check (){ $now = date("U"); // First action in order to know if it's a new installation or db maintenance never have been executed - $first_action = db_get_value_filter('utimestamp', 'tsesion', array('1' => '1', 'order' => 'id_sesion ASC')); + $first_action = db_get_value_filter('utimestamp', 'tsesion', array('1 = 1', 'order' => 'id_sesion ASC')); $fresh_installation = $now - $first_action; $resta = $now - $db_maintance;