plugins/kolab_files
Aleksander Machniak
machniak at kolabsys.com
Sun Aug 25 13:20:47 CEST 2013
plugins/kolab_files/lib/kolab_files_engine.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a3e3e3fe13a7e1f444bdad893b8bfa1ffc58371f
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Sun Aug 25 13:14:47 2013 +0200
Fix session error after uploading attachment from cloud. There was
a bug where attachment body was unintentionally stored in session
when attachments handling plugin returned 'data' item (to be fixed
in *attachment plugins).
diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index b8adfcb..419dcb0 100644
--- a/plugins/kolab_files/lib/kolab_files_engine.php
+++ b/plugins/kolab_files/lib/kolab_files_engine.php
@@ -939,7 +939,7 @@ class kolab_files_engine
$id = $attachment['id'];
// store new attachment in session
- unset($attachment['status'], $attachment['abort']);
+ unset($attachment['data'], $attachment['status'], $attachment['abort']);
$COMPOSE['attachments'][$id] = $attachment;
if (($icon = $COMPOSE['deleteicon']) && is_file($icon)) {
More information about the commits
mailing list