X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=66b0c63e190892a6e095c919f5eabb0edf6bed47;hp=50e5f4521a8fab311b7cd189ebfd5a1696b10cdd;hb=8d70fd41c880ca61bafb47a69a6411c741c71dff;hpb=e81bae12c3ed998e5dce877f5baff1bd3c7bf597 diff --git a/inc/functions.php b/inc/functions.php index 50e5f4521a..66b0c63e19 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -3085,7 +3085,7 @@ function determineReferalId () { } elseif ((isExtensionInstalledAndNewer('user', '0.3.4')) && (getConfig('select_user_zero_refid') == 'Y')) { // Select a random user which has confirmed enougth mails $GLOBALS['refid'] = determineRandomReferalId(); - } elseif ((isExtensionInstalled('sql_patches')) && (getConfig('def_refid') > 0)) { + } elseif ((isExtensionInstalledAndNewer('sql_patches', '0.1.2')) && (getConfig('def_refid') > 0)) { // Set default refid as refid in URL $GLOBALS['refid'] = getConfig('def_refid'); } else {