X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=confirm.php;h=b4134087323c5c5118d136e9b6640269e49e4856;hp=0ef080984b1fcc6dc16a3390f1599a2ab4e04624;hb=1a9c4d5736b58e8d1da657ba2ff3da9f0777300c;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/confirm.php b/confirm.php index 0ef080984b..b413408732 100644 --- a/confirm.php +++ b/confirm.php @@ -46,13 +46,16 @@ $GLOBALS['output_mode'] = -1; // Load the required file(s) require('inc/config-global.php'); +// Set content type for e.g. search engines +if (isSpider()) setContentType('text/html'); + // No hash provided by default $URL = 'modules.php?module=index'; // Is the hash there? -if (isGetRequestElementSet('hash')) { +if (isGetRequestParameterSet('hash')) { // We have an refid here. So we simply add it - $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestElement('hash'); + $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestParameter('hash'); } // END - if // Load the URL