Naming convention on language strings applied, ACL handling fixed:
[mailer.git] / inc / modules / member / what-points.php
index fb050d655264151b139430836a6f13fe563bc4f7..08e9b396cc1419376a436016ba3428d7e5e6c158 100644 (file)
@@ -126,12 +126,12 @@ LIMIT 1",
 // Free memory
 SQL_FREERESULT($result_depths);
 
+// Add userid
+$content['userid'] = getMemberId();
+
 // Put rows to constant for the main template
 $content['rows'] = $OUT;
 
-// Remember several values in constants
-$content['total_points'] = $content['part_points'] - getUserData('used_points') + $content['part_order'];
-
 // Fixes a bug when there is no bonus extension installed
 if (isExtensionInstalledAndOlder('bonus', '0.4.4')) {
        setConfigEntry('bonus_active', 'X');