// Base URL for redirection
$url = 'modules.php?module=index';
-// Do we have a referral id?
+// Is there a referral id?
if (isReferralIdValid()) {
// We have an refid here. So we simply add it
$url .= '&what=sponsor_reg&refid=' . determineReferralId();