Code

Don't handle "dn" as attribute
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 15:19:38 +0000 (15:19 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 15:19:38 +0000 (15:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15057 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index dfa01839be2b14e4d349917389ebbe1055a26013..bac85ecc9c16e230b45fc5f7960223b3f764b46c 100644 (file)
@@ -723,6 +723,9 @@ class listing {
 
         // LDAP variables get replaced by their objects
         for ($i= 0; $i<$config['count']; $i++) {
+          if ($config[$i] == 'dn') {
+            continue;
+          }
           if ($param == $config[$i]) {
             $values= $config[$config[$i]];
             if (is_array($values)){