@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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"); |