Code

Fixed problem with non existing dn's
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 14:59:53 +0000 (14:59 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 14:59:53 +0000 (14:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3270 594d385d-05f5-0310-b6e9-bd551577e9d8

TODO
include/class_plugin.inc

diff --git a/TODO b/TODO
index 3a7cfd1d22675480423a66309f5048bd604e5f90..9080d558413251b371b4727cd606150ba205e083 100644 (file)
--- a/TODO
+++ b/TODO
@@ -33,6 +33,7 @@ Now:
   will have to other plugins
 * Enhance show_ldap_error() with an additional programmer supplied message
 * Change FAIstate when triggering actions
+* Changing LDAP-Servers -> start tab!
 
 
 Target for 2.5:
index bab07709a5bb257c505272a0d67e806e3fb93fb8..4b0248f36c44e63599247094eb1fd53b41d642c9 100644 (file)
@@ -930,7 +930,7 @@ class plugin
       $ldap= $this->config->get_ldap_link();
       $ldap->cat($dn, array('gosaUnitTag', 'objectClass'));
       $attrs= $ldap->fetch();
-      if (!in_array_ics("gosaAdministrativeUnitTag", $attrs['objectClass'])){
+      if (isset($attrs['objectClass']) && !in_array_ics("gosaAdministrativeUnitTag", $attrs['objectClass'])){
         echo "DEBUG: $dn is not tagged<br>";
         return;
       }