Tickets Fixed Off-by-1 error causes navbar to not show up

On the 1st post of the 2nd page of a multi-page ticket, there is an off-by-1 error which causes the navbar to not show up .

In _getDefaultViewParams

Code:
'totalMessages' => $ticket['reply_count'],
Should be:
Code:
'totalMessages' => $ticket['reply_count'] + 1,
 
Back
Top