summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index 5f5e680..36793f0 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -26,7 +26,7 @@
$oldid = array_key_exists("oldid",$_REQUEST) ? intval($_REQUEST['oldid']) : 0;
$process = array_key_exists("process",$_REQUEST) ? $_REQUEST['process'] : "";
// $showdetalis refers to Secret Question and Answers from account/13.php
- $showdetails = array_key_exists("showdetails",$_REQUEST) ? $_REQUEST['showdetails'] : "";
+ $showdetails = array_key_exists("showdetails",$_REQUEST) ? intval($_REQUEST['showdetails']) : 0;
$cert = array_key_exists('cert',$_REQUEST) ? intval($_REQUEST['cert']) : 0;
$orgid = array_key_exists('orgid',$_REQUEST) ? intval($_REQUEST['orgid']) : 0;