diff --git a/pages/account/55.php b/pages/account/55.php
index 9c6fe44..9f24237 100644
--- a/pages/account/55.php
+++ b/pages/account/55.php
@@ -94,18 +94,19 @@
print '
'._('Internal Error').' | '."\n";
} else {
$row = mysql_fetch_array($res, MYSQL_NUM);
- if ($HaveTest && $row[1] && ($row[2]>=100)) {
+ if ($HaveTest && ($row[2]>=100)) {
+ if (!$row[1]) {
+ // This should not happen...
+ fix_assurer_flag($_SESSION['profile']['id']);
+ }
?> =_("You have passed the Assurer Challenge and collected at least 100 Assurance Points, you are an Assurer.")?> |
} elseif (($row[2]>=100) && !$HaveTest) {
?> =_("You have at least 100 Assurance Points, if you want to become an assurer try the ").'Assurer Challenge!'?> |
} elseif ($HaveTest && ($row[2]<100)) {
?> =_("You have passed the Assurer Challenge, but to become an Assurer you still have to reach 100 Assurance Points!")?> |
- } elseif ($HaveTest && !$row[1] && ($row[2]>=100)) {
-?> =_("There is an internal inconsistence in your account's data, please contact ").'cacert-support@lists.cacert.org!'?> |
-
}
}
}
-?>
+?>