diff options
| -rw-r--r-- | docs/changelog.md | 1 | ||||
| -rw-r--r-- | drivers/adodb-pdo.inc.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/changelog.md b/docs/changelog.md index 52c43d82..07a28d46 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -35,6 +35,7 @@ Older changelogs: - mysqli: return fields as ADOFieldObject objects. #175 - odbc/mssql: fix null strings concatenation issue with SQL server 2012. #148 - odbc: MetaColumns() can optionally be set to return MetaType for backwards compatibility. #184 +- pdo: fix PHP notice. #248 - sqlite: _createSuffix is now compatible with parent. #178 - sqlite: metaIndexes could not locate indexes on uppercase table name. #176 - sqlite: Fix Metataypes mapping. #177 diff --git a/drivers/adodb-pdo.inc.php b/drivers/adodb-pdo.inc.php index cf6751ad..a04e7f23 100644 --- a/drivers/adodb-pdo.inc.php +++ b/drivers/adodb-pdo.inc.php @@ -454,7 +454,9 @@ class ADODB_pdo extends ADOConnection { #adodb_backtrace(); #var_dump($this->_bindInputArray); if ($stmt) { - $this->_driver->debug = $this->debug; + if (isset($this->_driver)) { + $this->_driver->debug = $this->debug; + } if ($inputarr) { $ok = $stmt->execute($inputarr); } |
