]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
Typo fixed :-(
[mailer.git] / inc / libs / bonus_functions.php
index 55fb01e9cef71f0766f41a5fcd32eba84d6dd84e..8367a4a24ec5a38fb50eb569d931a30267d5d0c8 100644 (file)
@@ -285,7 +285,7 @@ function FILTER_ADD_LOGIN_BONUS () {
 
        // Bonus is not given by default ;-)
        $bonus = false;
-       if ((isExtensionInstalledAndNewer('sql_patches', '0.2.8')) && (ifBonusRallyeActive()) && (getConfig('bonus_login_yn') == 'Y')) {
+       if ((isExtensionInstalledAndNewer('sql_patches', '0.2.8')) && (isBonusRallyeActive()) && (getConfig('bonus_login_yn') == 'Y')) {
                // Update last login if far enougth away
                // @TODO This query isn't right, it will only update if the user was for a longer time away!
                SQL_QUERY_ESC('UPDATE