diff options
author | Benny Baumann <BenBE@geshi.org> | 2013-07-21 22:34:16 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2013-07-21 22:34:16 +0200 |
commit | c0c47e65f84e1ae3cb46706ef6cb30d8df32c8ac (patch) | |
tree | dbd1155618f802962e636322abac31e1704955b9 | |
parent | eb288d6caa7426f24f28cb647fd5e9f451c26d23 (diff) | |
download | cacert-devel-c0c47e65f84e1ae3cb46706ef6cb30d8df32c8ac.tar.gz cacert-devel-c0c47e65f84e1ae3cb46706ef6cb30d8df32c8ac.tar.xz cacert-devel-c0c47e65f84e1ae3cb46706ef6cb30d8df32c8ac.zip |
bug 893: Fix indentation to make code-flow more obvious
-rw-r--r-- | includes/account.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/account.php b/includes/account.php index b3a86c5..91b75f0 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1172,17 +1172,17 @@ $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description']))); }else{ $description= ""; - } + } - if(trim($_REQUEST['disablelogin']) == "1"){ - $disablelogin = 1; - }else{ - $disablelogin = 0; - } + if(trim($_REQUEST['disablelogin']) == "1"){ + $disablelogin = 1; + }else{ + $disablelogin = 0; + } - mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='$description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'"); + mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='$description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'"); + } - } if($oldid == 13 && $process != "") { csrf_check("perschange"); |