bug 893: Fix indentation to make code-flow more obvious
[cacert-devel.git] / includes / account.php
index b3a86c5..91b75f0 100644 (file)
                        $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");