Passed
Push — dpa_forum11 ( f8ec19 )
by David
39:58 queued 26:15
created
html/user/forum_banishment_vote_action.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
 // See if "action" is provided - either through post or get
39 39
 if (!post_str('action', true)) {
40
-    if (!get_str('action', true)){
40
+    if (!get_str('action', true)) {
41 41
 	    error_page(tra("You must specify an action..."));
42 42
     } else {
43 43
         $action = get_str('action');
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 $user=BoincUser::lookup_id($userid);
51 51
 if (!$user) error_page('No such user');
52 52
 
53
-if ($action!="start"){
53
+if ($action!="start") {
54 54
     error_page("Unknown action");
55 55
 }
56 56
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $mod_category = tra("Other");
67 67
 }
68 68
 
69
-if (post_str('reason', true)){
69
+if (post_str('reason', true)) {
70 70
     start_vote($config,$logged_in_user,$user, $mod_category,post_str("reason"));
71 71
 } else {
72 72
     start_vote($config,$logged_in_user,$user, $mod_category,"None given");
Please login to merge, or discard this patch.