summaryrefslogtreecommitdiff
path: root/drivers/adodb-ldap.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2025-10-25PHP 8.5: fix Non-canonical cast deprecationsDamien Regad1-5/+5
Non-canonical cast (integer) is deprecated, use the (int) cast instead Global search and replace throughout the code base. Fixes #1143
2024-03-22ldap: PHP 8.2 error when $LDAP_CONNECT_OPTIONS not setDamien Regad1-1/+1
Calling connect() method When the $LDAP_CONNECT_OPTIONS global variable is not set results in PHP Fatal error: Uncaught TypeError: count(): Argument 1 ($value) must be of type Countable|array, null given. Replacing count()>0 by !empty() to avoid the problem. Fixes #1009
2023-04-30Define ADOConnection::_query() methodDamien Regad1-1/+0
- Update child classes to be consistent with this declaration. - Remove unnecessary, non-PHPDoc comments - Consistent parameter names Fixes #966
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-16/+22
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad1-1/+1
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad1-22/+16
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-14Standard file header: /driversDamien Regad1-16/+22
2021-03-08Bump version to 5.21.1-devDamien Regad1-1/+1
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad1-1/+1
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad1-1/+1
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad1-1/+1
2016-02-24Improve array identification in ADOrecordset::getAssocMark Newnham1-1/+1
The ADOrecordset::getAssoc method has suffered from reduced reliability because the original design forced it to try to identify the type of array (numeric/associative) by looking at the keys of the array. This redesign eliminates such requirements in the following way: 1. Passes the actual fetch mode from the ADOconnection::getAssoc to ADOrecordset::getAssoc. 2. If ADOrecordset::getAssoc is used as an API, (This method is discouraged and may become unavailable in later versions of ADOdb), the method attempts to identify the array type by analyzing the entirety of the array and comparing it against a numeric array of the same length. 3. Finally, a fetch mode can be forced by sending one directly to the ADOrecordset::getAssoc method as a third argument. The definition of 'numeric array' for the purposes of this method, is: An array whose keys are ALL integer values greater than or equal to zero, the first key MUST be the value 0, and the incremental value between keys MUST be 1. This is not necessarily the definition of a numeric array for PHP purposes, but reflects numeric arrays as returned by database drivers. Fixes #101 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2016-01-02Update version 5.21.0-dev release year to 2016Damien Regad1-1/+1
2015-12-27Update version to avoid merge conflictsDamien Regad1-1/+1
2015-12-16Remove useless constructorsDamien Regad1-4/+0
Fixes #171
2015-11-28Bump version to 5.21devDamien Regad1-1/+1
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad1-1/+1
2015-11-26Adjust header comment blocksDamien Regad1-1/+3
- running SED script - manual adjustments for files not processed by regex
2015-08-11Fix#139: Remove PHP 4 ConstructorsValentin Sheyretski1-3/+3
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
2015-08-11Correct function declarations for strict standards. Fixes #142Andrew Nicols1-1/+1
2015-03-05WhitespaceDamien Regad1-181/+185
2014-04-30Bump version to 5.20devDamien Regad1-1/+1
2014-04-23Bump version to 5.19v5.19Damien Regad1-1/+1
2014-02-24Remove closing php tagDamien Regad1-1/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-01-21Bump version to 5.19devDamien Regad1-1/+1
Bumped 'dev' version allows users who rely on source code downloaded from the git repository rather than an official release tarball to reliably determine that they are running a development version of the library.
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+423
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory