From 77f1a064352b778220f8e97b03078decb534136a Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 8 Nov 2005 08:15:48 +0000 Subject: [PATCH] Don't add slashes to binary uploads... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1860 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiTemplate.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/admin/fai/class_faiTemplate.inc b/plugins/admin/fai/class_faiTemplate.inc index 4a3326024..ed4eb8a82 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -64,13 +64,13 @@ class faiTemplate extends plugin } foreach($this->sub64coded as $codeIt){ - $this->SubObjects[$object['cn'][0]][$codeIt]=base64_decode($this->SubObjects[$object['cn'][0]][$codeIt]); + $this->SubObjects[$object['cn'][0]][$codeIt]= base64_decode($this->SubObjects[$object['cn'][0]][$codeIt]); } - $this->SubObjects[$object['cn'][0]]['FAItemplateFile'] =addslashes( $this->readBinary("FAItemplateFile",$object['dn'])); + $this->SubObjects[$object['cn'][0]]['FAItemplateFile']= $this->readBinary("FAItemplateFile",$object['dn']); - $this->SubObjects[$object['cn'][0]]['status'] = "edited"; - $this->SubObjects[$object['cn'][0]]['dn'] = $object['dn']; + $this->SubObjects[$object['cn'][0]]['status']= "edited"; + $this->SubObjects[$object['cn'][0]]['dn']= $object['dn']; } ksort($this->SubObjects); } -- 2.30.2