fixed offset for getHeaders, first message was not displayed, as a base of 1 is used, not 0

This commit is contained in:
Ralf Becker 2004-08-09 07:29:39 +00:00
parent f009ebc45e
commit 680a89ffeb

View File

@ -108,7 +108,7 @@
if ($filter) $where[] = $filter;
$this->db->select($this->cache_table,'uid,date,subject,sender_name,sender_address,to_name,to_address,size,attachments',
$where,__LINE__,__FILE__,$_firstMessage,$this->getSortSQL($_sort),False,$_numberOfMessages);
$where,__LINE__,__FILE__,$_firstMessage?$_firstMessage-1:False,$this->getSortSQL($_sort),False,$_numberOfMessages);
while($this->db->next_record())
{