From b85f638a8c48b98fbbac24441c09d0c918862bb9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 31 Aug 2006 07:36:04 +0000 Subject: [PATCH] Removed duplicated addslahes git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4552 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiHook.inc | 2 +- plugins/admin/fai/class_faiScript.inc | 2 +- plugins/admin/fai/class_faiTemplate.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.30.2