mirror of
https://github.com/dg/dibi.git
synced 2025-08-18 11:51:18 +02:00
Sqlite3Driver becomes alias for SqliteDriver
This commit is contained in:
@@ -68,7 +68,7 @@ function reformat($s)
|
||||
function num($n)
|
||||
{
|
||||
global $config;
|
||||
if (substr($config['dsn'] ?? '', 0, 5) === 'odbc:' || $config['driver'] === 'sqlite') {
|
||||
if (substr($config['dsn'] ?? '', 0, 5) === 'odbc:') {
|
||||
$n = is_float($n) ? "$n.0" : (string) $n;
|
||||
}
|
||||
return $n;
|
||||
|
Reference in New Issue
Block a user