summaryrefslogtreecommitdiff
path: root/includes/keygen.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/keygen.php')
-rw-r--r--includes/keygen.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/keygen.php b/includes/keygen.php
index da80aa0..09ec7f9 100644
--- a/includes/keygen.php
+++ b/includes/keygen.php
@@ -43,7 +43,7 @@ if (array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_A
<form method="post" style="display:none" action="account.php"
id="CertReqForm">
- <input type="hidden" name="oldid" value="<?=$id?>" />
+ <input type="hidden" name="oldid" value="<?=intval($id)?>" />
<input type="hidden" id="CSR" name="CSR" />
<input type="hidden" name="keytype" value="MS" />
@@ -122,7 +122,7 @@ if (array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_A
<?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>">
<input type="submit" name="submit" value="<?=_("Create Certificate Request")?>">
- <input type="hidden" name="oldid" value="<?=$id?>">
+ <input type="hidden" name="oldid" value="<?=intval($id)?>">
</form>
</p>
<? }