We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1434af4 commit d7dd6b4Copy full SHA for d7dd6b4
system/Database/SQLSRV/Builder.php
@@ -295,8 +295,8 @@ private function getFullName(string $table): string
295
$database = $this->db->getDatabase();
296
$table = $dbInfo[0];
297
298
- if (count($dbInfo) >= 2) {
299
- if (count($dbInfo) === 3) {
+ if (count($dbInfo) >= 2 && isset($dbInfo[1])) {
+ if (count($dbInfo) === 3 && isset($dbInfo[2])) {
300
$database = str_replace('"', '', $dbInfo[0]);
301
$schema = str_replace('"', '', $dbInfo[1]);
302
$tableName = str_replace('"', '', $dbInfo[2]);
0 commit comments