aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade_feed.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--upgrade_feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade_feed.php b/upgrade_feed.php
index 6695da5d8..52f0cfb9f 100644
--- a/upgrade_feed.php
+++ b/upgrade_feed.php
@@ -56,8 +56,8 @@ define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db');
// +-----------------------------------------------------------------------+
$pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'],
- $conf['db_password'], $conf['db_base'])
- or my_error('pwg_db_connect', true);
+ $conf['db_password'], $conf['db_base']);
+pwg_select_db($conf['db_base'], $pwg_db_link);
pwg_db_check_charset();