From 28ad8b6ee247eaeb61191fe9756f36376634e34f Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 4 Sep 2006 11:37:58 +0000 Subject: [PATCH] Fixed slahes for fai Templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiTemplate.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2