]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-confirm.php
A lot calls saved, expression language rewritten:
[mailer.git] / inc / modules / guest / what-confirm.php
index fcbbddb482f44af4b7a450b87d5852839fcafa5e..777a4a433f60dc7f123115e9d66901a1edbeb556 100644 (file)
@@ -107,7 +107,7 @@ LIMIT 1",
                                        }
 
                                        // If version matches add ref bonus to refid's account
-                                       if ((isExtensionInstalledAndNewer('bonus', '0.4.4')) && (getConfig('bonus_active') == 'Y')) {
+                                       if ((isExtensionInstalledAndNewer('bonus', '0.4.4')) && (ifBonusRallyeActive())) {
                                                // Add points (directly only!)
                                                SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `bonus_ref`=`bonus_ref`+{?bonus_ref?} WHERE `userid`=%s LIMIT 1",
                                                        array(bigintval($refid)), __FILE__, __LINE__);