fix possible problem with endless loop in export
This commit is contained in:
parent
43cbfb0ff3
commit
d4cdc96217
|
@ -343,7 +343,8 @@ class PlaLdapExporter extends PlaAbstractExporter{
|
|||
|
||||
//get the attributes of the entry
|
||||
$attrs = @ldap_get_attributes($this->ds,$this->entry_id);
|
||||
if( $attr = @ldap_first_attribute( $this->ds,$this->entry_id ) ){
|
||||
$attr = @ldap_first_attribute( $this->ds,$this->entry_id );
|
||||
if(($attr !== false) && ($attr !== null)) {
|
||||
|
||||
//iterate over the attributes
|
||||
while( $attr ){
|
||||
|
|
Loading…
Reference in New Issue