/[ludap]/ludap/ludap.lib.php
ViewVC logotype

Diff of /ludap/ludap.lib.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mose, Wed Aug 27 23:09:16 2003 UTC revision 1.7 by mose, Tue Sep 2 04:45:21 2003 UTC
# Line 280  class ludap { Line 280  class ludap {
280                  }                  }
281                  $i = ldap_search($this->conn, $this->conf['groupdn'], $limit, array($this->conf['membattr']));                  $i = ldap_search($this->conn, $this->conf['groupdn'], $limit, array($this->conf['membattr']));
282                  $info = ldap_get_entries($this->conn, $i);                  $info = ldap_get_entries($this->conn, $i);
283                    $f_gps = array();
284                  for ($x=0; $x<$info["count"]; $x++) {                  for ($x=0; $x<$info["count"]; $x++) {
285                          $f_gps[] = utf8_decode($info[$x]["{$this->conf['membattr']}"][0]);                          $f_gps[] = utf8_decode($info[$x]["{$this->conf['membattr']}"][0]);
286                  }                  }
287                  return $f_gps;                  if (count($f_gps)) {
288                            return $f_gps;
289                    } else {
290                            return false;
291                    }
292          }          }
293    
294          function del_groups($id) {                function del_groups($id) {      

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26