if (isReferralIdValid()) {
// We have an refid here. So we simply add it
$url .= '&what=sponsor_reg&refid=' . determineReferralId();
if (isReferralIdValid()) {
// We have an refid here. So we simply add it
$url .= '&what=sponsor_reg&refid=' . determineReferralId();