From: <lei...@us...> - 2014-01-30 18:25:32
|
Author: leithoff Date: Thu Jan 30 16:35:20 2014 New Revision: 45461 URL: http://svn.stylite.de/viewvc/egroupware?rev=45461&view=rev Log: get rid of wrong offset warning Modified: trunk/mail/inc/class.mail_bo.inc.php Modified: trunk/mail/inc/class.mail_bo.inc.php URL: http://svn.stylite.de/viewvc/egroupware/trunk/mail/inc/class.mail_bo.inc.php?rev=45461&r1=45460&r2=45461&view=diff ============================================================================== --- trunk/mail/inc/class.mail_bo.inc.php (original) +++ trunk/mail/inc/class.mail_bo.inc.php Thu Jan 30 16:35:20 2014 @@ -4170,8 +4170,9 @@ return $rawHeaders[$this->icServer->ImapServerId][$_folder][$_uid][(empty($_partID)?'NIL':$_partID)]; } $uidsToFetch = new Horde_Imap_Client_Ids(); - if (!(is_object($_uid) || is_array($_uid))) $_uid = (array)$_uid; - $uidsToFetch->add($_uid); + $uid = $_uid; + if (!(is_object($_uid) || is_array($_uid))) $uid = (array)$_uid; + $uidsToFetch->add($uid); $fquery = new Horde_Imap_Client_Fetch_Query(); $fquery->headerText(array('peek'=>true)); @@ -4285,8 +4286,9 @@ } $uidsToFetch = new Horde_Imap_Client_Ids(); - if (!(is_object($_uid) || is_array($_uid))) $_uid = (array)$_uid; - $uidsToFetch->add($_uid); + $uid = $_uid; + if (!(is_object($_uid) || is_array($_uid))) $uid = (array)$_uid; + $uidsToFetch->add($uid); $fquery = new Horde_Imap_Client_Fetch_Query(); $fquery->fullText(array('peek'=>true)); |