1
0
Fork 0

fix possible problem with endless loop in export

Dieser Commit ist enthalten in:
Roland Gruber 2010-09-11 11:42:52 +00:00
Ursprung 43cbfb0ff3
Commit d4cdc96217
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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 ){