]> git.sur5r.net Git - contagged/blobdiff - inc/functions.php
Small change in marker handling for more template flexibility
[contagged] / inc / functions.php
index b0c28f67d6fff20ee4c09f4c3a3579d87c0e3252..617888d7d86dadc1e18da2d9417d0b7dafc53d6f 100644 (file)
@@ -230,12 +230,7 @@ function prepare_ldap_entry($in){
             $out[$FIELDS["_$key"]][] = $value; //shouldn't happen, but to be sure
         }
     }else{
-        // no mapping found - assume it to be a LDAP attribute (shouldn't happen)
-        if(is_array($value)){
-            $out[$key] = $value;
-        }else{
-            $out[$key][] = $value;
-        }
+        // no mapping found we ignore it
     }
   }