- $content['top_email_nav'] = '';
- $content['bottom_email_nav'] = '';
- if ($pages > 1) {
- $content['top_email_nav'] = addEmailNavigation($pages, getConfig('mails_page'), true , 3, true);
- $content['bottom_email_nav'] = addEmailNavigation($pages, getConfig('mails_page'), false, 3, true);
- } // END - if
+ $content['top_email_nav'] = addEmailNavigation($numPages, getMailsPage(), true , 3, true);
+ $content['bottom_email_nav'] = addEmailNavigation($numPages, getMailsPage(), false, 3, true);