-if (isGetRequestParameterSet('hash')) {
- // We have an refid here. So we simply add it
- $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestParameter('hash');
+if (isGetRequestElementSet('hash')) {
+ // We have a hash here. So we simply add it
+ $url .= '&hash=' . getRequestElement('hash');