Port fix from wordpress to this

This commit is contained in:
Garvin Hicking 2014-05-14 13:02:29 +02:00
parent 6f0a9b7123
commit d4fb7207aa

View File

@ -451,7 +451,7 @@ class Serendipity_Import_Serendipity extends Serendipity_Import {
return sprintf(COULDNT_CONNECT, htmlspecialchars($this->data['host'])); return sprintf(COULDNT_CONNECT, htmlspecialchars($this->data['host']));
} }
if (!@mysql_select_db($this->data['name'])) { if (!@mysql_select_db($this->data['name'], $s9ydb)) {
return sprintf(COULDNT_SELECT_DB, mysql_error($s9ydb)); return sprintf(COULDNT_SELECT_DB, mysql_error($s9ydb));
} }