Skip to content

Commit

Permalink
Update ADODB_db2::_query() declaration to match parent
Browse files Browse the repository at this point in the history
Regression from ae2438b.

Fixes #987
  • Loading branch information
dregad committed Jun 12, 2023
1 parent 40539c7 commit fc00930
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Older changelogs:

## [5.22.7] - Unreleased

### Fixed

- db2: Declaration of ADODB_db2::_query incompatible with parent
[#987](https://github.com/ADOdb/ADOdb/issues/987)


## [5.22.6] - 2023-06-11

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion drivers/adodb-db2.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ function prepare($sql)
*
* @return mixed either the queryID or false
*/
function _query(&$sql,$inputarr=false)
function _query($sql, $inputarr = false)
{
$db2Options = array();
/*
Expand Down

0 comments on commit fc00930

Please sign in to comment.