No DOS/Win32 breakline...
[mailer.git] / sponsor_confirm.php
index ebef80cc065a498a946137c02871af0dfddf90c8..875728f9b0b58ea1cf20a6258af9673d4ee1859a 100644 (file)
@@ -47,13 +47,16 @@ $GLOBALS['output_mode'] = -2;
 // 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 there a hash?
-if (isGetRequestElementSet('hash')) {
+if (isGetRequestParameterSet('hash')) {
        // We have an refid here. So we simply add it
-       $URL = 'modules.php?module=index&what=sponsor_login&hash=' . getRequestElement('hash');
+       $URL = 'modules.php?module=index&what=sponsor_login&hash=' . getRequestParameter('hash');
 } // END - if
 
 // Load the URL