From cb118782331ff5450cb2424c96c4e582b3cc672d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 13 Oct 2012 09:05:58 +0000 Subject: feature 2773: add pwg_db_close() method git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') diff --git a/admin/include/functions.php b/admin/include/functions.php index 01d1a4bab..8e310148e 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1676,7 +1676,7 @@ function create_table_add_character_set($query) defined('DB_CHARSET') or fatal_error('create_table_add_character_set DB_CHARSET undefined'); if ('DB_CHARSET'!='') { - if ( version_compare(mysql_get_server_info(), '4.1.0', '<') ) + if ( version_compare(pwg_get_db_version(), '4.1.0', '<') ) { return $query; } -- cgit v1.2.3