mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
BUGFIX Fixed undefined varible $dbname, this should have been $this->database instead
This commit is contained in:
parent
39c250af7f
commit
1290b0e4c7
@ -231,7 +231,7 @@ class MSSQLDatabase extends Database {
|
||||
*/
|
||||
public function createDatabase() {
|
||||
$this->query("CREATE DATABASE \"$this->database\"");
|
||||
$this->selectDatabase($dbname);
|
||||
$this->selectDatabase($this->database);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user