2012-04-21 Junichi Satoh <junichi@rworks.jp>

* include/functions_config.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-04-21 14:50:33 +00:00
parent 1f34d27715
commit 5bec9afe72
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-04-21 Junichi Satoh <junichi@rworks.jp>
* include/functions_config.php: Fixed SQL error with PostgreSQL.
2012-04-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_network_map.php: Updated description to

View File

@ -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;