Renewed fix #17701: Generated t3x are corrupted in 4.5.1-dev and trunk
authorsteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Thu, 24 Feb 2011 18:12:21 +0000 (18:12 +0000)
committersteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Thu, 24 Feb 2011 18:12:21 +0000 (18:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10618 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/em/classes/index.php

index a3acdd3..42fd416 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-24  Steffen Kamper  <steffen@typo3.org>
+
+       * Renewed fix #17701: Generated t3x are corrupted in 4.5.1-dev and trunk
+
 2011-02-23  Oliver Hader  <oliver.hader@typo3.org>
 
        * Fixed bug #17719: Move donation popup to about module (thanks to Steffen Kamper)
index 030489a..7129cf6 100644 (file)
@@ -2222,6 +2222,7 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                        $backUpData = $this->terConnection->makeUploadDataFromarray($uArr);
                        $filename = 'T3X_' . $extKey . '-' . str_replace('.', '_', $extInfo['EM_CONF']['version']) . '-z-' . date('YmdHi') . '.t3x';
                        if (intval($this->CMD['doBackup']) == 1) {
+                               ob_end_clean();
                                header('Content-Type: application/octet-stream');
                                header('Content-Disposition: attachment; filename=' . $filename);
                                echo $backUpData;