summaryrefslogtreecommitdiff
path: root/pages/account/13.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-02-04 23:29:23 +0100
committerMichael Tänzer <neo@nhng.de>2014-02-04 23:29:23 +0100
commit2636d78df8972e2fae91c0785c0a87262adc62bb (patch)
treee863556b9a1d85db8fa6c921eda10ea456f611e3 /pages/account/13.php
parent73fc407c07205e87d537338101ba133393aa80e2 (diff)
parentd810496e718e2545565e7b05687b763bdc628b92 (diff)
downloadcacert-devel-2636d78df8972e2fae91c0785c0a87262adc62bb.tar.gz
cacert-devel-2636d78df8972e2fae91c0785c0a87262adc62bb.tar.xz
cacert-devel-2636d78df8972e2fae91c0785c0a87262adc62bb.zip
Merge branch 'release' into bug-1138
Conflicts: includes/account.php includes/notary.inc.php Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages/account/13.php')
-rw-r--r--pages/account/13.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/account/13.php b/pages/account/13.php
index ea9811a..7e2adfc 100644
--- a/pages/account/13.php
+++ b/pages/account/13.php
@@ -23,7 +23,8 @@
$year = intval(substr($user['dob'], 0, 4));
$month = intval(substr($user['dob'], 5, 2));
$day = intval(substr($user['dob'], 8, 2));
- $showdetails = array_key_exists('showdetails', $_REQUEST) && !!intval($_REQUEST['showdetails']);
+ $showdetails = array_key_exists("showdetails",$_REQUEST) ? intval($_REQUEST['showdetails']) : 0;
+
if($showdetails){
$body = sprintf(_("Hi %s,"),$user['fname'])."\n\n";
$body .= _("You receive this automatic mail since you yourself or someone ".
@@ -163,6 +164,7 @@
<td class="DataTD"><input type="text" name="A5" value="<?=sanitizeHTML($user['A5'])?>"></td>
</tr>
<tr>
+ <input type="hidden" name="showdetails" value="1" />
<? } ?>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Update")?>"></td>
</tr>