forked from extern/egroupware
fixed offset for getHeaders, first message was not displayed, as a base of 1 is used, not 0
This commit is contained in:
parent
f009ebc45e
commit
680a89ffeb
@ -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())
|
||||
{
|
||||
@ -254,4 +254,4 @@
|
||||
),$this->host_account_folder,__LINE__,__FILE__);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user