From 59a03ee6fee8b45b2341fdbd6d6e7fdfe64d6c2e Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Wed, 16 Jul 2014 10:34:08 +0000 Subject: [PATCH] Fix for https://bugs.cacert.org/view.php?id=1281 "Internal Error on training page" --- pages/account/55.php | 235 ++++++++++++++++++++++--------------------- pages/account/56.php | 82 +++++++-------- 2 files changed, 163 insertions(+), 154 deletions(-) diff --git a/pages/account/55.php b/pages/account/55.php index 6793a71..24cc86d 100644 --- a/pages/account/55.php +++ b/pages/account/55.php @@ -1,113 +1,122 @@ - - - - - - - - - -
https://cats.cacert.org/'?>
- - - - - -
- - -
- - - - - - - - - - - - - -
-
- - - 0) { -?> - -'._('Internal Error').''."\n"; - } else { - $row = mysql_fetch_array($res, MYSQL_NUM); - if ($HaveTest && ($row[2]>=100)) { - if (!$row[1]) { - // This should not happen... - fix_assurer_flag($_SESSION['profile']['id']); - } -?> -=100) && !$HaveTest) { -?> - - -
back
'._("Assurer Challenge").'!'?>
- + + + + + + + + + +
https://cats.cacert.org/'?>
+ + + + + +
+ + +
+ + + + + + + + + + + + + +
+
+ + + 0) { +?> + +'._('Internal Error').''."\n"; + } else { + $row = mysql_fetch_array($res, MYSQL_NUM); + if ($HaveTest && ($row[2]>=100)) { + if (!$row[1]) { + // This should not happen... + fix_assurer_flag($_SESSION['profile']['id']); + } +?> +=100) && !$HaveTest) { +?> + + +
back
'._("Assurer Challenge").'!'?>
+ diff --git a/pages/account/56.php b/pages/account/56.php index 348cc49..cabe8e0 100644 --- a/pages/account/56.php +++ b/pages/account/56.php @@ -1,41 +1,41 @@ - - - - - - - - - - - - - - - - -
- + + + + + + + + + + + + + + + + +
+