quitened a warning

This commit is contained in:
Ralf Becker 2006-06-24 15:52:42 +00:00
parent 86b3262901
commit 0c8f55b6ea

View File

@ -139,7 +139,7 @@
$filter='(objectclass=*)';
$justthese = array('structuralObjectClass','namingContexts','supportedLDAPVersion','subschemaSubentry');
if($sr=ldap_read($this->ds, '', $filter, $justthese)) {
if(($sr = @ldap_read($this->ds, '', $filter, $justthese))) {
if($info = ldap_get_entries($this->ds, $sr)) {
$ldapServerInfo = new ldapserverinfo();