X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=dd2bb617c612b06c02caeefbb3ea6fcd40932de4;hp=d6cbd1f0de10c076b9a16990154897b71790d003;hb=a877681fa703f58deff4c234cfb9d4ead48419be;hpb=f7d1229840cdae4ba22fdf375265bca4fb4a2d32 diff --git a/sponsor_ref.php b/sponsor_ref.php index d6cbd1f0de..dd2bb617c6 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -53,9 +53,9 @@ setContentType('text/html'); $url = 'modules.php?module=index'; // Do we have a referal id? -if (isValidUserId($GLOBALS['refid'])) { +if (isReferalIdValid()) { // We have an refid here. So we simply add it - $url .= '&what=sponsor_reg&refid=' . $GLOBALS['refid']; + $url .= '&what=sponsor_reg&refid=' . determineReferalId(); } // END - if // Load the URL