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).
This commit is contained in:
parent
3f62bf917f
commit
a3e3e3fe13
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue