summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-11 23:51:35 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-11 23:51:35 +0200
commitfae8fecaffc1ebe1962dbfe8786b8e0a8b4659f1 (patch)
treed2ff132d71bd8f9a0cfccdbd0c52e9a3fcafac2a /pages
parent3b239416e0e8e75b7f957bb9f037b7b8717ec66f (diff)
downloadcacert-devel-fae8fecaffc1ebe1962dbfe8786b8e0a8b4659f1.tar.gz
cacert-devel-fae8fecaffc1ebe1962dbfe8786b8e0a8b4659f1.tar.xz
cacert-devel-fae8fecaffc1ebe1962dbfe8786b8e0a8b4659f1.zip
bug 1138: Always provide a back link
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages')
-rw-r--r--pages/account/59.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/pages/account/59.php b/pages/account/59.php
index 7026b5a..5a327a9 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -370,15 +370,11 @@ if (mysql_num_rows($dres) > 0) {
</tr>
<?
}
- if ($support==1) {
- ?>
- <tr>
- <td colspan="<?=$colspan?>" >
- <a href="account.php?id=43&amp;userid=<?= $userid ?>"><?= _('Back to previous page.')?></a>
- </td>
- </tr>
- <?
- }
-
?>
+<tr>
+ <td colspan="<?=$colspan?>" >
+ <a href="account.php?id=<?=$oldid?intval($oldid):($support?43:13)?>&amp;userid=<?=$userid?>"><?= _('Back to previous page.')?></a>
+ </td>
+</tr>
+
</table>