X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ref.php;h=02fc5fa734fca9e688f59c096a0b1b645c5c75eb;hb=d537c9f6acdd0794c824777c765fab579ba88270;hp=7f0d0c7b2e83c9aa1c7e3445d9517d670673a84a;hpb=96d8f54d3fee1d51c38dd6b79c28215f7f5c83ec;p=mailer.git diff --git a/ref.php b/ref.php index 7f0d0c7b2e..02fc5fa734 100644 --- a/ref.php +++ b/ref.php @@ -39,7 +39,7 @@ require('inc/libs/security_functions.php'); // Init start time -$GLOBALS['__start_time'] = microtime(true); +$GLOBALS['__start_time'] = microtime(TRUE); // Set module $GLOBALS['__module'] = 'ref'; @@ -55,7 +55,7 @@ setContentType('text/html'); $url = 'modules.php?module=index'; // Check for determined referral id -if ((isExtensionActive('user')) && (isReferralIdValid()) && (isValidUserId(determineReferralId()))) { +if ((isExtensionActive('user')) && (isReferralIdValid()) && (isValidId(determineReferralId()))) { // Run filter chain for updating referral data runFilterChain('update_referral_data');