From: hickert Date: Thu, 31 Aug 2006 07:36:04 +0000 (+0000) Subject: Removed duplicated addslahes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b85f638a8c48b98fbbac24441c09d0c918862bb9;p=gosa.git Removed duplicated addslahes git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4552 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiHook.inc b/plugins/admin/fai/class_faiHook.inc index b13927b7b..f0c56572e 100644 --- a/plugins/admin/fai/class_faiHook.inc +++ b/plugins/admin/fai/class_faiHook.inc @@ -102,7 +102,7 @@ class faiHook extends plugin /* check if this is a binary entry */ if(in_array_ics($attrs,$this->subBinary)){ - $var = addslashes( $ldap->get_attribute($object['dn'], $attrs,$r_array=0)); + $var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0); } /* Fix slashes */ diff --git a/plugins/admin/fai/class_faiScript.inc b/plugins/admin/fai/class_faiScript.inc index 64c9aa390..f93ac0baa 100644 --- a/plugins/admin/fai/class_faiScript.inc +++ b/plugins/admin/fai/class_faiScript.inc @@ -104,7 +104,7 @@ class faiScript extends plugin /* check if this is a binary entry */ if(in_array_ics($attrs,$this->subBinary)){ - $var = addslashes( $ldap->get_attribute($object['dn'], $attrs,$r_array=0)); + $var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0); } /* Fix slashes */ diff --git a/plugins/admin/fai/class_faiTemplate.inc b/plugins/admin/fai/class_faiTemplate.inc index 7ea94ba48..88902daed 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -103,7 +103,7 @@ class faiTemplate extends plugin /* check if this is a binary entry */ if(in_array_ics($attrs,$this->subBinary)){ - $var = addslashes( $ldap->get_attribute($object['dn'], $attrs,$r_array=0)); + $var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0); } /* Fix slashes */