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