diff options
| author | Damien Regad <dregad@mantisbt.org> | 2022-08-26 18:04:52 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2022-09-03 18:28:10 +0200 |
| commit | 50d24a3c6d8cfb1b86041e59f67d4f767d94bbee (patch) | |
| tree | 4de19f60b0c872d2c94b784cf9ea843c561957a9 /adodb-lib.inc.php | |
| parent | 35751514339a5e172367f6d333e7d193fada9b00 (diff) | |
| download | adodb-50d24a3c6d8cfb1b86041e59f67d4f767d94bbee.tar.gz adodb-50d24a3c6d8cfb1b86041e59f67d4f767d94bbee.tar.bz2 adodb-50d24a3c6d8cfb1b86041e59f67d4f767d94bbee.zip | |
Fix display of trailing `-` for non-PDO drivers
Diffstat (limited to 'adodb-lib.inc.php')
| -rw-r--r-- | adodb-lib.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adodb-lib.inc.php b/adodb-lib.inc.php index 2595d2eb..e1fba109 100644 --- a/adodb-lib.inc.php +++ b/adodb-lib.inc.php @@ -1191,7 +1191,7 @@ function _adodb_debug_execute($zthis, $sql, $inputarr) $inBrowser = isset($_SERVER['HTTP_USER_AGENT']); $myDatabaseType = $zthis->databaseType; - if (isset($zthis->dsnType)) { + if (!isset($zthis->dsnType)) { // Append the PDO driver name $myDatabaseType .= '-' . $zthis->dsnType; } |
