aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-10-13 09:05:58 +0000
committermistic100 <mistic@piwigo.org>2012-10-13 09:05:58 +0000
commitcb118782331ff5450cb2424c96c4e582b3cc672d (patch)
treec38ad4078414b3b8bd18a207e57e5a956fa01342 /admin
parent97294dac5ac27b43cb6a116d2852578376efa58d (diff)
feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions.php2
1 files changed, 1 insertions, 1 deletions
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;
}