Projects
Kolab:3.4
php-pear-Net-LDAP3
0002-fix-fatal-entries-call.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-fix-fatal-entries-call.patch of Package php-pear-Net-LDAP3 (Revision 9)
Currently displaying revision
9
,
Show latest
From 864858dd73f9c6de1a2607b219fabe113133a605 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 27 Aug 2014 06:24:45 +0000 Subject: Fix PHP Fatal error: Call to a member function entries() on a non-object (#3518) --- diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php index 4d2082a..86c6310 100644 --- a/lib/Net/LDAP3.php +++ b/lib/Net/LDAP3.php @@ -992,7 +992,9 @@ class Net_LDAP3 $result = $ldap->search($root_dn, '(objectclass=nsds5replicationagreement)', 'sub', array('nsds5replicahost')); if (!$result) { - $this->_debug("No replicas configured"); + $this->_debug("No replicas configured on $replica_host"); + $ldap->close(); + continue; } foreach ($result->entries(true) as $dn => $attrs) { -- cgit v0.9.0.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.