summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-05-12 21:53:38 +0200
committerFelix Dörre <felix@dogcraft.de>2015-05-12 22:24:57 +0200
commit4fa1c66b3a2cb0228b855406dc189019b425b46f (patch)
tree084dd51aa2c10db1e4f3039fa08bdb941ca2b489 /www
parent8fbfc2ddabcbc134f9221d3424fa171b2e8388df (diff)
downloadcacert-devel-4fa1c66b3a2cb0228b855406dc189019b425b46f.tar.gz
cacert-devel-4fa1c66b3a2cb0228b855406dc189019b425b46f.tar.xz
cacert-devel-4fa1c66b3a2cb0228b855406dc189019b425b46f.zip
bug 1050: fix using old variable names while assuring
Diffstat (limited to 'www')
-rw-r--r--www/wot.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/wot.php b/www/wot.php
index 9560f39..5eb52e6 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -406,14 +406,14 @@ function send_reminder()
$body = sprintf(_("You are receiving this email because you have been assured by %s %s (%s)."), $_SESSION['profile']['fname'], $_SESSION['profile']['lname'], $_SESSION['profile']['email'])."\n\n";
- $body .= sprintf(_("You were issued %s assurance points and you now have %s assurance points in total."), $awarded, ($awarded + $drow_total))."\n\n";
+ $body .= sprintf(_("You were issued %s assurance points and you now have %s assurance points in total."), $awarded, ($awarded + $drow_points))."\n\n";
- if(($drow_total + $awarded) < 100 && ($drow_total + $awarded) >= 50)
+ if(($drow_points + $awarded) < 100 && ($drow_points + $awarded) >= 50)
{
$body .= _("You now have over 50 points, and can now have your name added to client certificates, and issue server certificates for up to 2 years.")."\n\n";
}
- if(($drow_total + $awarded) >= 100 && $drow_total < 0 && !is_assurer(intval($_SESSION['_config']['notarise']['id'])) )
+ if(($drow_points + $awarded) >= 100 && $drow_points < 0 && !is_assurer(intval($_SESSION['_config']['notarise']['id'])) )
{
$body .= _("You have at least 100 Assurance Points, if you want to become an assurer try the Assurer Challenge")." ( https://cats.cacert.org )\n\n";
$body .= _("To make it easier for others in your area to find you, it's helpful to list yourself as an assurer (this is voluntary), as well as a physical location where you live or work the most. You can flag your account to be listed, and add a comment to the display by going to:")."\n";
@@ -430,7 +430,7 @@ function send_reminder()
L10n::set_translation($my_translation);
$body = sprintf(_("You are receiving this email because you have assured %s %s (%s)."), $_SESSION['_config']['notarise']['fname'], $_SESSION['_config']['notarise']['lname'], $_SESSION['_config']['notarise']['email'])."\n\n";
- $body .= sprintf(_("You issued %s assurance points and they now have %s assurance points in total."), $awarded, ($awarded + $drow['total']))."\n\n";
+ $body .= sprintf(_("You issued %s assurance points."), $awarded)."\n\n";
$body .= _("Best regards")."\n";
$body .= _("CAcert Support Team");