]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
'userid' rewritten to functions
[mailer.git] / surfbar.php
index 119453ad9dd38b80e5ca324e72c324317df2e111..de542f132bc5ff2001ec4fd91fca1e4c46eb7109 100644 (file)
@@ -87,7 +87,7 @@ if (isInstalled()) {
                        REQUEST_UNSET_GET(('frame'));
                } elseif ((REQUEST_ISSET_GET(('frame'))) && (REQUEST_GET('frame') == "stats")) {
                        // Get total points amount
-                       $points = GET_TOTAL_DATA($GLOBALS['userid'], "user_points", "points") - GET_TOTAL_DATA($GLOBALS['userid'], "user_data", "used_points");
+                       $points = GET_TOTAL_DATA(getUserId(), "user_points", "points") - GET_TOTAL_DATA(getUserId(), "user_data", "used_points");
 
                        // Prepare content
                        $content = array(