Fix of display-bug in member's overview of points (what=points) and extra call-back...
[mailer.git] / inc / modules / member / what-points.php
index 38ae7595f088fd2ad529288bd355349add8a9663..f5bb460ff1444c8ff45793d58af0370de06e7230 100644 (file)
@@ -158,11 +158,11 @@ if ($totalLocked == '0') $totalLocked = '0.00000';
 
 // Remember several values in constants
 $content['sum']   = translateComma($totalPoints - getUserData('used_points'));
-$content['tref']  = $totalReferals;
+$content['tref']  = translateComma($totalReferals);
 $content['tlock'] = translateComma($totalLocked);
 
 // Fixes a bug when there is no bonus extension installed
-if (isExtensionInstalledAndOlder('bonus', '0.4.4')) setConfigEntry('bonus_active', "X");
+if (isExtensionInstalledAndOlder('bonus', '0.4.4')) setConfigEntry('bonus_active', 'X');
 
 // Members shall see no special rows here
 $content['special_rows'] = '';
@@ -208,9 +208,9 @@ if ((isExtensionInstalledAndNewer('bonus', '0.2.2')) && (isExtensionActive('bonu
 }
 
 // Remeber values for the final template
-$content['receive']   = $RECEIVED;
-$content['confirmed'] = $CONFIRMED;
-$content['sent']      = $SENT;
+$content['receive']   = translateComma($RECEIVED);
+$content['confirmed'] = translateComma($CONFIRMED);
+$content['sent']      = translateComma($SENT);
 
 // Load final template
 if (isExtensionActive('user')) {