mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-19711 dml: Fix undefined $dberr
In mysqli_native_moodle_database::raw_connect()
This commit is contained in:
parent
46cfde3d95
commit
3612d0b8b9
@ -567,6 +567,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
}
|
||||
|
||||
$conn = null;
|
||||
$dberr = null;
|
||||
try {
|
||||
$conn = $this->mysqli->real_connect($dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbsocket);
|
||||
} catch (\Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user