From 02149ef7a87def9de510ac02629bc29d89051c99 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 31 Aug 2006 07:40:03 +0000 Subject: [PATCH] Removed duplicated addslashes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4553 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 5473946bb..557bf0657 100644 --- a/plugins/admin/fai/class_faiHook.inc +++ b/plugins/admin/fai/class_faiHook.inc @@ -103,7 +103,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 c308999b2..9e8a9770e 100644 --- a/plugins/admin/fai/class_faiScript.inc +++ b/plugins/admin/fai/class_faiScript.inc @@ -106,7 +106,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 509319680..2334e611a 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -105,7 +105,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