Removed 2nd parameter for assert() as this is only available in PHP 5.4.8+ but Mailer...
[mailer.git] / sponsor_ref.php
index b251f6922adfe69d2682d305f13e1d10aa4041f6..dc134f1f5ee1a9c7b1a9e5e27bad2f8132ccb25c 100644 (file)
@@ -54,7 +54,7 @@ setContentType('text/html');
 $url = 'modules.php?module=index';
 
 // Is there a referral id?
-if (isReferralIdValid()) {
+if (isValidReferralId()) {
        // We have an refid here. So we simply add it
        $url .= '&what=sponsor_reg&refid=' . determineReferralId();
 } // END - if