X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_notifications.php;h=43672bbde8b7765649331b78ad440c1d48cfe78b;hb=2379934be6a196a54f4155bb8e24c49b20736969;hp=62f575b9e6c60bb1836f58c8e236035a6da501f6;hpb=c6017cf76200e2a5e68bd1984fa2d31f0e3be9d8;p=mailer.git diff --git a/inc/modules/admin/what-list_notifications.php b/inc/modules/admin/what-list_notifications.php index 62f575b9e6..43672bbde8 100644 --- a/inc/modules/admin/what-list_notifications.php +++ b/inc/modules/admin/what-list_notifications.php @@ -48,14 +48,14 @@ $SQL2 = ''; $result_max = false; // Set offset an current page to default values -if (!isGetRequestParameterSet('page')) setGetRequestParameter('page' , 1); -if (!isGetRequestParameterSet('offset')) setGetRequestParameter('offset', getMailsPage()); +if (!isGetRequestElementSet('page')) setGetRequestElement('page' , 1); +if (!isGetRequestElementSet('offset')) setGetRequestElement('offset', getMailsPage()); if (isExtensionActive('bonus')) { // Bonus mails sent by you $SQL2 = "SELECT - `id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`, - `mails_sent`, `clicks`, (`mails_sent` - `clicks`) AS `unconfirmed` + `id`,`subject`,`text`,`receivers`,`points`,`time`,`data_type`,`timestamp`,`url`,`cat_id`,`target_send`, + `mails_sent`,`clicks`, (`mails_sent` - `clicks`) AS `unconfirmed` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE @@ -71,7 +71,7 @@ ORDER BY } // Create limitation line -$add = ' LIMIT ' . (bigintval(getRequestParameter('offset')) * bigintval(getRequestParameter('page')) - bigintval(getRequestParameter('offset'))) . ', ' . bigintval(getRequestParameter('offset')); +$add = ' LIMIT ' . (bigintval(getRequestElement('offset')) * bigintval(getRequestElement('page')) - bigintval(getRequestElement('offset'))) . ', ' . bigintval(getRequestElement('offset')); // Add limitation if (!empty($SQL2)) $SQL2 .= $add;