From: hickert Date: Mon, 4 Sep 2006 11:37:58 +0000 (+0000) Subject: Fixed slahes for fai Templates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=28ad8b6ee247eaeb61191fe9756f36376634e34f;p=gosa.git Fixed slahes for fai Templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiTemplate.inc b/plugins/admin/fai/class_faiTemplate.inc index d6ba507e8..f20c35718 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -108,6 +108,8 @@ class faiTemplate extends plugin $var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0); } + $var = stripslashes($var); + $object[$attrs] = $var; } } @@ -398,7 +400,7 @@ class faiTemplate extends plugin if(empty($obj[$attrs])){ $obj[$attrs] = array(); } - $tmp[$attrs] = $obj[$attrs]; + $tmp[$attrs] = stripslashes($obj[$attrs]); } $tmp['objectClass'] = $this->subClasses;