/[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.16 by mose, Sat Sep 13 09:09:23 2003 UTC revision 1.17 by mose, Sat Sep 13 10:39:08 2003 UTC
# Line 280  class ludap { Line 280  class ludap {
280                                  }                                  }
281          // echo "<pre>"; print_r($tmpimg); die("</pre>");          // echo "<pre>"; print_r($tmpimg); die("</pre>");
282                          } elseif ($cbuff['TYPE'] == 'dn') {                          } elseif ($cbuff['TYPE'] == 'dn') {
283                                  $fres["$clabel"] = strtok(utf8_decode($info[0]["$clabel"][0]),',');                                  foreach ($info[0]["$clabel"] as $dnla) {
284                                            $fres["$clabel"][] = substr(strtok(utf8_decode($dnla),','),strpos($dnla,'=')+1);
285                                    }
286                          } else {                          } else {
287                                  if (isset($info[0]["$clabel"])) {                                  if (isset($info[0]["$clabel"])) {
288                                          $fres["$clabel"] = utf8_decode($info[0]["$clabel"][0]);                                          $fres["$clabel"][] = utf8_decode($info[0]["$clabel"][0]);
289                                  }                                  }
290                          }                          }
291                  }                  }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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