From 2059371dc2bfb986a1e00fd1b106747ba4e5da18 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 6 Feb 2006 11:06:47 +0000 Subject: [PATCH] Can't use $this in connect, since we're a static function. Use the class name instead. --- thirdparty/pear/Net/LDAP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- libgit2 0.21.4