summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae1abcc)
raw | patch | inline | side by side (parent: ae1abcc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Mar 2008 09:37:21 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Mar 2008 09:37:21 +0000 (09:37 +0000) |
-Do not strip slashes from templates.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10053 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10053 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiTemplate.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 9015ba8789f9e1f853ef3ff95c591cd0a0a77501..23f43c33e871d2848f5afb4f604b45b27a4112a6 100644 (file)
if(in_array_ics($attrs,$this->sub64coded)){
$var = base64_decode($var);
}
+ $var = stripslashes($var);
/* check if this is a binary entry */
if(in_array_ics($attrs,$this->subBinary)){
$var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0);
}
-
- $var = stripslashes($var);
$object[$attrs] = $var;
}