|
@@ 2817-2820 (lines=4) @@
|
| 2814 |
|
$p = $getParams((is_array($ids)?$ids[0]:$ids)); |
| 2815 |
|
if ($p['is_winmail']) |
| 2816 |
|
{ |
| 2817 |
|
if ($p['icServer'] && $p['icServer'] != $this->mail_bo->profileID) |
| 2818 |
|
{ |
| 2819 |
|
$this->changeProfile($p['icServer']); |
| 2820 |
|
} |
| 2821 |
|
$this->mail_bo->reopen($p['mailbox']); |
| 2822 |
|
// retrieve all embedded attachments at once |
| 2823 |
|
// avoids to fetch heavy winmail.dat content |
|
@@ 2833-2837 (lines=5) @@
|
| 2830 |
|
$params = $getParams($id); |
| 2831 |
|
// when downloading a single file, name is not set |
| 2832 |
|
if (!$params['name']&&isset($_GET['name'])&&!$isMultipleDownload) $params['name'] = $_GET['name']; |
| 2833 |
|
if ($params['icServer'] && $params['icServer'] != $this->mail_bo->profileID) |
| 2834 |
|
{ |
| 2835 |
|
//error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID); |
| 2836 |
|
$this->changeProfile($params['icServer']); |
| 2837 |
|
} |
| 2838 |
|
//error_log(__METHOD__.__LINE__.array2string($hA)); |
| 2839 |
|
$this->mail_bo->reopen($params['mailbox']); |
| 2840 |
|
if ($params['is_winmail']) |