X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_notifications.php;h=c03e38df9c3c677a7ffcc33f7c3abd9c67b254bd;hp=220213e51752939e3915e3d4bd8863cd21c1ed9f;hb=57227d33e870ec5cd271209c4a978a52b45c2dd6;hpb=bc72f913ef9ef26f4103d3deddb4d8be5337a1e5 diff --git a/inc/modules/admin/what-list_notifications.php b/inc/modules/admin/what-list_notifications.php index 220213e517..c03e38df9c 100644 --- a/inc/modules/admin/what-list_notifications.php +++ b/inc/modules/admin/what-list_notifications.php @@ -49,8 +49,8 @@ $SQL2 = ''; $result_max = false; // Set offset an current page to default values -if (!isGetRequestElementSet('page')) setGetRequestElement('page' , 1); -if (!isGetRequestElementSet('offset')) setGetRequestElement('offset', getConfig('mails_page')); +if (!isGetRequestParameterSet('page')) setGetRequestParameter('page' , 1); +if (!isGetRequestParameterSet('offset')) setGetRequestParameter('offset', getConfig('mails_page')); if (isExtensionActive('bonus')) { // Bonus mails sent by you @@ -68,7 +68,7 @@ ORDER BY timestamp DESC"; } // Create limitation line -$add = " LIMIT ".(bigintval(getRequestElement('offset')) * bigintval(getRequestElement('page')) - bigintval(getRequestElement('offset'))).", ".bigintval(getRequestElement('offset')); +$add = " LIMIT ".(bigintval(getRequestParameter('offset')) * bigintval(getRequestParameter('page')) - bigintval(getRequestParameter('offset'))).", ".bigintval(getRequestParameter('offset')); // Add limitation if (!empty($SQL2)) $SQL2 .= $add;