From e4a0830ad1f45e4f9982ed5aa1398d5eaa270b91 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Mon, 28 Apr 2014 11:14:19 +0200 Subject: [PATCH] this should maybe fix the error message in importer --- include/admin/importers/wordpress.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/admin/importers/wordpress.inc.php b/include/admin/importers/wordpress.inc.php index 5bb4ca1f..c6ff3bee 100644 --- a/include/admin/importers/wordpress.inc.php +++ b/include/admin/importers/wordpress.inc.php @@ -97,7 +97,7 @@ class Serendipity_Import_WordPress extends Serendipity_Import { return sprintf(COULDNT_CONNECT, htmlspecialchars($this->data['host'])); } - if (!@mysql_select_db($this->data['name'])) { + if (!@mysql_select_db($this->data['name'], $wpdb)) { return sprintf(COULDNT_SELECT_DB, mysql_error($wpdb)); }