|
@@ 2676-2679 (lines=4) @@
|
| 2673 |
|
$p = $getParams((is_array($ids)?$ids[0]:$ids)); |
| 2674 |
|
if ($p['is_winmail']) |
| 2675 |
|
{ |
| 2676 |
|
if ($p['icServer'] && $p['icServer'] != $this->mail_bo->profileID) |
| 2677 |
|
{ |
| 2678 |
|
$this->changeProfile($p['icServer']); |
| 2679 |
|
} |
| 2680 |
|
$this->mail_bo->reopen($p['mailbox']); |
| 2681 |
|
// Retrive all embedded attachments at once |
| 2682 |
|
// avoids to fetch heavy winmail.dat content |
|
@@ 2692-2696 (lines=5) @@
|
| 2689 |
|
$params = $getParams($id); |
| 2690 |
|
// when downloading a single file, name is not set |
| 2691 |
|
if (!$params['name']&&isset($_GET['name'])&&!$isMultipleDownload) $params['name'] = $_GET['name']; |
| 2692 |
|
if ($params['icServer'] && $params['icServer'] != $this->mail_bo->profileID) |
| 2693 |
|
{ |
| 2694 |
|
//error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID); |
| 2695 |
|
$this->changeProfile($params['icServer']); |
| 2696 |
|
} |
| 2697 |
|
//error_log(__METHOD__.__LINE__.array2string($hA)); |
| 2698 |
|
$this->mail_bo->reopen($params['mailbox']); |
| 2699 |
|
if ($params['is_winmail']) |