X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-primera.php;h=deff292584e75a051cb4a1792b2644108892267f;hp=7cc98acb71a6f46b791335a32508740a72fab479;hb=1355d2c0b29510dbd407f9cde9f41a5ac02d01fa;hpb=15cfa3538ae057219dce740ce61d3a164c1dde87 diff --git a/inc/modules/member/what-primera.php b/inc/modules/member/what-primera.php index 7cc98acb71..deff292584 100644 --- a/inc/modules/member/what-primera.php +++ b/inc/modules/member/what-primera.php @@ -63,7 +63,7 @@ if ((getConfig('primera_api_name') == '') || (getConfig('primera_api_md5') == '' $content = array(); $points = false; // Is the mode set (payout only) -if (!REQUEST_ISSET_GET(('mode'))) { +if (!REQUEST_ISSET_GET('mode')) { // Get referal id $content['refid'] = getConfig(('primera_refid')); @@ -81,7 +81,7 @@ if (!REQUEST_ISSET_GET(('mode'))) { SQL_FREERESULT($result); // Is there an ID? - if ((!empty($content['primera_nickname'])) && (!REQUEST_ISSET_GET(('mode')))) { + if ((!empty($content['primera_nickname'])) && (!REQUEST_ISSET_GET('mode'))) { // Then use an other "mode" REQUEST_SET_GET('mode', "list"); @@ -151,12 +151,12 @@ if (REQUEST_GET('mode') == "pay") { SQL_FREERESULT($result); } else { // Invalid mode! - LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('PRIMERA_MEMBER_MODE_INVALID'), REQUEST_GET(('mode')))); + LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('PRIMERA_MEMBER_MODE_INVALID'), REQUEST_GET('mode'))); return; } // Is the formular sent? -if ((isFormSent()) && (REQUEST_ISSET_GET(('mode')))) { +if ((isFormSent()) && (REQUEST_ISSET_GET('mode'))) { // Check input data depending on the mode and execute the requested mode switch (REQUEST_GET('mode')) { case "pay": // Payout this exchange -> Primus @@ -214,13 +214,13 @@ if ((isFormSent()) && (REQUEST_ISSET_GET(('mode')))) { default: // Invalid mode! DEBUG_LOG(__FILE__, __LINE__, sprintf("Invalid mode %s detected.", REQUEST_GET('mode'))); - LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('PRIMERA_MEMBER_MODE_INVALID'), REQUEST_GET(('mode')))); + LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('PRIMERA_MEMBER_MODE_INVALID'), REQUEST_GET('mode'))); return; } } // END - if // Prepare mode for template name -$mode = sprintf("member_primera_mode_%s", REQUEST_GET(('mode'))); +$mode = sprintf("member_primera_mode_%s", REQUEST_GET('mode')); // Load the template LOAD_TEMPLATE($mode, false, $content);