X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_notifications.php;h=1323a6014ebf533d71e249d6b23ef19ec669e49a;hp=f1f3bb965731fa1f11adf58aabb9598196a8ae80;hb=f1be6fe9139d0036115366c4a4dfc41f8bec115b;hpb=c21a1799c2dd8a3571230ff87594a415b502b563 diff --git a/inc/modules/admin/what-list_notifications.php b/inc/modules/admin/what-list_notifications.php index f1f3bb9657..1323a6014e 100644 --- a/inc/modules/admin/what-list_notifications.php +++ b/inc/modules/admin/what-list_notifications.php @@ -49,7 +49,7 @@ $result_max = false; // Set offset an current page to default values if (!isGetRequestParameterSet('page')) setGetRequestParameter('page' , 1); -if (!isGetRequestParameterSet('offset')) setGetRequestParameter('offset', getConfig('mails_page')); +if (!isGetRequestParameterSet('offset')) setGetRequestParameter('offset', getMailsPage()); if (isExtensionActive('bonus')) { // Bonus mails sent by you @@ -83,7 +83,7 @@ if ((isExtensionActive('bonus')) && (!SQL_HASZERONUMS($result_max)) && (!empty($ // Load bonus mails only when extension is active if (!SQL_HASZERONUMS($result_bonus)) { // Calculate pages - $numPages = round(SQL_NUMROWS($result_bonus) / getConfig('mails_page') + 0.5); + $numPages = round(SQL_NUMROWS($result_bonus) / getMailsPage() + 0.5); // List emails $OUT = ''; $content = array(); @@ -99,7 +99,7 @@ if ((isExtensionActive('bonus')) && (!SQL_HASZERONUMS($result_max)) && (!empty($ } // END - if // Add navigation (without change box but with colspan=3) - $content['nav'] = addEmailNavigation($numPages, getConfig('mails_page'), false, 3, true); + $content['nav'] = addEmailNavigation($numPages, getMailsPage(), false, 3, true); // Prepare content $content['rows'] = $OUT;