Some improvements, caching of email templates prepared
[mailer.git] / confirm.php
index a7c797de4773ade6d7872506de4bf6d8ee9986db..bd8622996fa006c8d78e2231766803d17a2f6ea1 100644 (file)
@@ -50,13 +50,13 @@ require('inc/config-global.php');
 // Set content type for e.g. search engines
 setContentType('text/html');
 
-// No hash provided by default
-$URL = 'modules.php?module=index';
+// No hash provided then we redirect to the right page
+$URL = 'modules.php?module=index&what=confirm';
 
 // Is the hash there?
 if (isGetRequestParameterSet('hash')) {
-       // We have an refid here. So we simply add it
-       $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestParameter('hash');
+       // We have a hash here. So we simply add it
+       $URL .= '&hash=' . getRequestParameter('hash');
 } // END - if
 
 // Load the URL