PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_ldap » Bug #4677

bug in connect function

Details

Submitted2005-06-25 07:36 UTC
Fromkeefer dot a at gmx dot de
StatusDuplicate
PackageDB_ldap
PHP Version4.3.11
OSLinux (gentoo)
Roadmaps(Not assigned)

Comments

[2005-06-25 07:36 UTC] keefer dot a at gmx dot de

Description:
------------
In the connect() function the first if clause must be changed. Looks like an old DB extension check.

Reproduce code:
---------------
//her an bugfix of the if clause
if (!PEAR::loadExtension('ldap'))
return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);

Expected result:
----------------
the ldap extension could not be checkt...