From: hickert Date: Fri, 28 Mar 2008 09:37:21 +0000 (+0000) Subject: Updated FAI tempalte download X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e3f72287864d1e34e699c2d87ea03bbde1e9846e;p=gosa.git Updated FAI tempalte download -Do not strip slashes from templates. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10053 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc index 9015ba878..23f43c33e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc @@ -102,13 +102,12 @@ class faiTemplate extends plugin 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; }