A lot more nice improvements!
[mailer.git] / inc / libs / surfbar_functions.php
index 3700fab3972bfde28056b928bf3c78979eea311a..2af19cbbb5d65f1779bdfae32f846e40a7be1766 100644 (file)
@@ -818,12 +818,12 @@ function SURFBAR_PAY_POINTS ($urlId) {
        // Remove it from the URL owner
        //DEBUG_LOG(__FUNCTION__, __LINE__, "uid=".SURFBAR_GET_USERID().",costs=".SURFBAR_GET_COSTS()."", false);
        if (SURFBAR_GET_USERID() > 0) {
-               SUB_POINTS(SURFBAR_GET_USERID(), SURFBAR_GET_COSTS());
+               SUB_POINTS("surfbar", SURFBAR_GET_USERID(), SURFBAR_GET_COSTS());
        } // END - if
 
        // Book it to the user
        //DEBUG_LOG(__FUNCTION__, __LINE__, "uid=".$GLOBALS['userid'].",reward=".SURFBAR_GET_REWARD()."", false);
-       ADD_POINTS_REFSYSTEM($GLOBALS['userid'], SURFBAR_GET_DATA('reward'));
+       ADD_POINTS_REFSYSTEM("surfbar", $GLOBALS['userid'], SURFBAR_GET_DATA('reward'));
 }
 // Updates the statistics of current URL/userid
 function SURFBAR_UPDATE_INSERT_STATS_RECORD () {