summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-02-25 23:44:31 +0100
committerINOPIAE <inopiae@cacert.org>2014-02-25 23:44:31 +0100
commitfa98b8e1e40413f081af383f9840ee5aed13e7ff (patch)
tree094c6ebd22ebc5ac5d5e14b5a3e35ef173c0dcd8
parent4e222feac0a78351b68ece5a329941f2a790ae79 (diff)
downloadcacert-devel-fa98b8e1e40413f081af383f9840ee5aed13e7ff.tar.gz
cacert-devel-fa98b8e1e40413f081af383f9840ee5aed13e7ff.tar.xz
cacert-devel-fa98b8e1e40413f081af383f9840ee5aed13e7ff.zip
bug 1138: removed double intval
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index ed9ad66..eedc867 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2698,7 +2698,7 @@ function buildSubjectFromSession() {
$day = intval($_REQUEST['day']);
$month = intval($_REQUEST['month']);
$year = intval($_REQUEST['year']);
- $userid = intval(intval($_REQUEST['userid']));
+ $userid = intval($_REQUEST['userid']);
$query = "update `users` set `fname`='$fname',`mname`='$mname',`lname`='$lname',`suffix`='$suffix',`dob`='$year-$month-$day' where `id`='$userid'";
mysql_query($query);
write_se_log($userid, $_SESSION['profile']['id'],'SE Name/DOB Change',$ticketno);