Port fix from wordpress to this
This commit is contained in:
parent
6f0a9b7123
commit
d4fb7207aa
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user