X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-unconfirmed.php;h=f53b97a5df899ff546bbeaff052149bad5a33f19;hp=23502f4ed31d66eb1a5c98ecc1bf70fc9138e105;hb=2379934be6a196a54f4155bb8e24c49b20736969;hpb=b60d6755eb34f6a302b30eeb363ed0853e8d987d diff --git a/inc/modules/member/what-unconfirmed.php b/inc/modules/member/what-unconfirmed.php index 23502f4ed3..f53b97a5df 100644 --- a/inc/modules/member/what-unconfirmed.php +++ b/inc/modules/member/what-unconfirmed.php @@ -52,7 +52,7 @@ if (!isExtensionActive('mailid')) { } // END - if // Shall we display a mail? -if ((isGetRequestParameterSet('bonusid')) && (isExtensionActive('bonus'))) { +if ((isGetRequestElementSet('bonusid')) && (isExtensionActive('bonus'))) { // Display bonus mail by loading it's full data $result_data = SQL_QUERY_ESC("SELECT `id`,`subject`,`timestamp`,`cat_id`,`points`,`text`,`is_notify`,`data_type`,`time`,`url` @@ -61,7 +61,7 @@ FROM WHERE `id`=%s LIMIT 1", - array(bigintval(getRequestParameter('bonusid'))), __FILE__, __LINE__); + array(bigintval(getRequestElement('bonusid'))), __FILE__, __LINE__); // Load data $content = SQL_FETCHARRAY($result_data); @@ -91,7 +91,7 @@ LIMIT 1", // Free result SQL_FREERESULT($result_data); -} elseif (isGetRequestParameterSet('mailid')) { +} elseif (isGetRequestElementSet('mailid')) { // Display regular member mail by loading its full data $result_data = SQL_QUERY_ESC("SELECT s.id, s.subject, p.text, s.timestamp_ordered AS `timestamp`, @@ -109,7 +109,7 @@ ON WHERE s.id=%s LIMIT 1", - array(bigintval(getRequestParameter('mailid'))), __FILE__, __LINE__); + array(bigintval(getRequestElement('mailid'))), __FILE__, __LINE__); // Load data $content = SQL_FETCHARRAY($result_data);