Script rewritten to setConfigEntry(), getConfig() and incrementConfigEntry()
[mailer.git] / inc / libs / rallye_functions.php
index 25146a04db8888ff1d71beaadb4afb2eb446c15f..c09d6c5d6d7eb0597f40c06ae72bc2aa1cc56354 100644 (file)
@@ -517,7 +517,7 @@ function RALLYE_LOAD_USERS_ARRAY ($rallye) {
        global $_CONFIG;
 
        // Fix zero points to 0.00000
-       if (getConfig('ref_payout') == "0") $_CONFIG['ref_payout'] = "0.00000";
+       if (getConfig('ref_payout') == "0") setConfigEntry('ref_payout', "0.00000");
 
        // Init multi array
        $users = array(