if requesting UIDs, do not try to look for the set assuming we got ids

This commit is contained in:
Klaus Leithoff 2011-07-08 09:42:24 +00:00
parent 4d2202563c
commit 3e405cc1b7

View File

@ -2290,7 +2290,7 @@
$queryString = implode(',', $sortResult);
// fetch the data for the selected messages
$headersNew = $this->icServer->getSummary($queryString, $rByUid);
if ($headersNew == null)
if ($headersNew == null && empty($_thisUIDOnly)) // -> if we request uids, do not try to look for messages with ids
{
// message retrieval via uid failed try one by one via message number
$rByUid = false;