diff options
author | Benny Baumann <BenBE@geshi.org> | 2014-04-29 23:26:27 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2014-04-30 20:18:56 +0200 |
commit | 7e6053f91c8be4f2b2d1a6a3e93c62fbf8f8c156 (patch) | |
tree | 44f6cad7b886875c685798b0c6b1213ee3f685f7 | |
parent | d872c0cea992315cd223fdea621e0663753c3751 (diff) | |
download | cacert-devel-7e6053f91c8be4f2b2d1a6a3e93c62fbf8f8c156.tar.gz cacert-devel-7e6053f91c8be4f2b2d1a6a3e93c62fbf8f8c156.tar.xz cacert-devel-7e6053f91c8be4f2b2d1a6a3e93c62fbf8f8c156.zip |
bug 1138: additional brackets for better readability
-rw-r--r-- | includes/account.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/includes/account.php b/includes/account.php index a9965d6..fd376d4 100644 --- a/includes/account.php +++ b/includes/account.php @@ -3157,14 +3157,16 @@ function buildSubjectFromSession() { if($id == 50) { - if(array_key_exists('userid',$_REQUEST) && $_REQUEST['userid'] !== "") + if(array_key_exists('userid',$_REQUEST) && $_REQUEST['userid'] !== "") { $_REQUEST['userid'] = intval($_REQUEST['userid']); + } $row = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".intval($_REQUEST['userid'])."'")); - if($row['email'] == "") + if($row['email'] == "") { $id = 42; - else + } else { $_REQUEST['email'] = $row['email']; + } } if($oldid == 50) |