Code

Removed duplicated addslahes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 31 Aug 2006 07:36:04 +0000 (07:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 31 Aug 2006 07:36:04 +0000 (07:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4552 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiHook.inc
plugins/admin/fai/class_faiScript.inc
plugins/admin/fai/class_faiTemplate.inc

index b13927b7bd6629a0bae16cf2920b5ff8c1ca9539..f0c56572ec1cc4a5af199b246d3fa8ef4049d3a0 100644 (file)
@@ -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 */
index 64c9aa390d84805fcaa5e16f6e34244e659a7dbd..f93ac0baa4f880c0bb46c7f89f19094acc0a59cb 100644 (file)
@@ -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 */
index 7ea94ba4885c44134e432f5060c17ce548cd97f8..88902daedb4437d196cc4743aeb63f950ee8f2ee 100644 (file)
@@ -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 */