X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-email_details.php;h=9fb44ceaabd744870be10c48bad5e68176e1f4ec;hp=d52dbb18338ad9186f44335f1e5cb0f644721b59;hb=f03cb5d87e69bb2efc885b5c5f5f3026b24c06f6;hpb=e98608bf2a6208376d30996cf9152e1f091ac369 diff --git a/inc/modules/admin/what-email_details.php b/inc/modules/admin/what-email_details.php index d52dbb1833..9fb44ceaab 100644 --- a/inc/modules/admin/what-email_details.php +++ b/inc/modules/admin/what-email_details.php @@ -114,13 +114,13 @@ if (!REQUEST_ISSET_GET('offset')) { // Add limitation to SQL string if (!REQUEST_ISSET_GET(('mid'))) { // Create limitation line - $ADD = " LIMIT ".(bigintval(REQUEST_GET('offset')) * bigintval(REQUEST_GET('page')) - bigintval(REQUEST_GET('offset'))).", ".bigintval(REQUEST_GET('offset')); + $add = " LIMIT ".(bigintval(REQUEST_GET('offset')) * bigintval(REQUEST_GET('page')) - bigintval(REQUEST_GET('offset'))).", ".bigintval(REQUEST_GET('offset')); // For normal mails - $sql .= $ADD; + $sql .= $add; // For bonus mails - if (!empty($SQL2)) $SQL2 .= $ADD; + if (!empty($SQL2)) $SQL2 .= $add; } // END - if // Run SQL query for normal mails