Code

Updated gen_uids.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Aug 2007 12:26:22 +0000 (12:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Aug 2007 12:26:22 +0000 (12:26 +0000)
Generated uids contained a \ in front of  each generated word.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6969 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 8295cbcd2100949a64eabea2af81201181f4ec1e..d52aa1e23e083f69f537d6575f8e0a59c5a83bac 100644 (file)
@@ -1714,7 +1714,7 @@ function gen_uids($rule, $attributes)
 
     if ($rule[$pos] == "}" ){
       $variables[$pos]= expand_id($part, $attributes);
-      $stripped.= "\{$pos}";
+      $stripped.= "{".$pos."}";
       $trigger= false;
       continue;
     }