mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
comments on new uploaded files were discarded
This commit is contained in:
parent
ff4f8c8b3a
commit
9c81163db4
@ -1160,7 +1160,7 @@
|
||||
'size' => $_FILES['upload_file']['size'][$i],
|
||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
||||
'deleteable' => 'Y',
|
||||
'comment' => stripslashes($upload_comment[$i])
|
||||
'comment' => stripslashes($_POST['upload_comment'][$i])
|
||||
)
|
||||
);
|
||||
$this->bo->vfs->set_attributes($tmp_arr);
|
||||
@ -1188,7 +1188,7 @@
|
||||
'relatives' => array(RELATIVE_ALL),
|
||||
'attributes'=> array(
|
||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
||||
'comment' => stripslashes($upload_comment[$i])
|
||||
'comment' => stripslashes($_POST['upload_comment'][$i])
|
||||
)
|
||||
));
|
||||
|
||||
@ -1207,7 +1207,7 @@
|
||||
'relatives' => array(RELATIVE_ALL),
|
||||
'attributes'=> array(
|
||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
||||
'comment' => $upload_comment[$i]
|
||||
'comment' => stripslashes($_POST['upload_comment'][$i])
|
||||
)
|
||||
));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user