|
@@ 2807-2810 (lines=4) @@
|
| 2804 |
|
$p = $getParams((is_array($ids)?$ids[0]:$ids)); |
| 2805 |
|
if ($p['is_winmail']) |
| 2806 |
|
{ |
| 2807 |
|
if ($p['icServer'] && $p['icServer'] != $this->mail_bo->profileID) |
| 2808 |
|
{ |
| 2809 |
|
$this->changeProfile($p['icServer']); |
| 2810 |
|
} |
| 2811 |
|
$this->mail_bo->reopen($p['mailbox']); |
| 2812 |
|
// retrieve all embedded attachments at once |
| 2813 |
|
// avoids to fetch heavy winmail.dat content |
|
@@ 2823-2827 (lines=5) @@
|
| 2820 |
|
$params = $getParams($id); |
| 2821 |
|
// when downloading a single file, name is not set |
| 2822 |
|
if (!$params['name']&&isset($_GET['name'])&&!$isMultipleDownload) $params['name'] = $_GET['name']; |
| 2823 |
|
if ($params['icServer'] && $params['icServer'] != $this->mail_bo->profileID) |
| 2824 |
|
{ |
| 2825 |
|
//error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID); |
| 2826 |
|
$this->changeProfile($params['icServer']); |
| 2827 |
|
} |
| 2828 |
|
//error_log(__METHOD__.__LINE__.array2string($hA)); |
| 2829 |
|
$this->mail_bo->reopen($params['mailbox']); |
| 2830 |
|
if ($params['is_winmail']) |