forked from extern/egroupware
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],
|
'size' => $_FILES['upload_file']['size'][$i],
|
||||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
'mime_type' => $_FILES['upload_file']['type'][$i],
|
||||||
'deleteable' => 'Y',
|
'deleteable' => 'Y',
|
||||||
'comment' => stripslashes($upload_comment[$i])
|
'comment' => stripslashes($_POST['upload_comment'][$i])
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->bo->vfs->set_attributes($tmp_arr);
|
$this->bo->vfs->set_attributes($tmp_arr);
|
||||||
@ -1188,7 +1188,7 @@
|
|||||||
'relatives' => array(RELATIVE_ALL),
|
'relatives' => array(RELATIVE_ALL),
|
||||||
'attributes'=> array(
|
'attributes'=> array(
|
||||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
'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),
|
'relatives' => array(RELATIVE_ALL),
|
||||||
'attributes'=> array(
|
'attributes'=> array(
|
||||||
'mime_type' => $_FILES['upload_file']['type'][$i],
|
'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