mirror of
https://github.com/dg/dibi.git
synced 2025-08-03 20:57:36 +02:00
SqliteResult: workaround for PHP bug 79414
This commit is contained in:
@@ -96,7 +96,7 @@ class SqliteResult implements Dibi\ResultDriver
|
|||||||
'name' => $this->resultSet->columnName($i),
|
'name' => $this->resultSet->columnName($i),
|
||||||
'table' => null,
|
'table' => null,
|
||||||
'fullname' => $this->resultSet->columnName($i),
|
'fullname' => $this->resultSet->columnName($i),
|
||||||
'nativetype' => $types[$this->resultSet->columnType($i)],
|
'nativetype' => $types[$this->resultSet->columnType($i)] ?? null, // buggy in PHP 7.4.4 & 7.3.16, bug 79414
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
return $columns;
|
return $columns;
|
||||||
|
Reference in New Issue
Block a user