diff --git a/thirdparty/pear/Net/LDAP.php b/thirdparty/pear/Net/LDAP.php index ada5f65..78ad18e 100644 --- a/thirdparty/pear/Net/LDAP.php +++ b/thirdparty/pear/Net/LDAP.php @@ -140,7 +140,7 @@ define ('NET_LDAP_ERROR', 1000); function &connect($config = array()) { if (!function_exists('ldap_connect')){ - return $this->raiseError("It seems that you do not have the ldap-extension installed. Please install it before using this package."); + return Net_LDAP::raiseError("It seems that you do not have the ldap-extension installed. Please install it before using this package."); } @$obj =& new Net_LDAP($config); $err = $obj->bind();