mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-03 21:35:20 +01:00
Merge pull request #69 from asig2016/17.1_fix_mail_get_structure
Fixed typo in Mail.php getStructure $uid -> $_uid (in some cases i.e.…
This commit is contained in:
commit
86a550c7e6
@ -5646,8 +5646,14 @@ class Mail
|
|||||||
$_folder = ($this->sessionData['mailbox']? $this->sessionData['mailbox'] : $this->icServer->getCurrentMailbox());
|
$_folder = ($this->sessionData['mailbox']? $this->sessionData['mailbox'] : $this->icServer->getCurrentMailbox());
|
||||||
}
|
}
|
||||||
$uidsToFetch = new Horde_Imap_Client_Ids();
|
$uidsToFetch = new Horde_Imap_Client_Ids();
|
||||||
if (!(is_object($_uid) || is_array($_uid))) $uid = (array)$_uid;
|
|
||||||
$uidsToFetch->add($uid);
|
if (!(is_object($_uid) || is_array($_uid)))
|
||||||
|
{
|
||||||
|
$_uid = (array)$_uid;
|
||||||
|
}
|
||||||
|
|
||||||
|
$uidsToFetch->add($_uid);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$_fquery = new Horde_Imap_Client_Fetch_Query();
|
$_fquery = new Horde_Imap_Client_Fetch_Query();
|
||||||
|
Loading…
Reference in New Issue
Block a user