@@ -280,8 +280,7 @@ discard block |
||
| 280 | 280 | if (!$field_data['field_mod_only'] || $this->mode === 'mcp') |
| 281 | 281 | { |
| 282 | 282 | $this->form->add($field, $field_data['field_type'], $field_data, $topic_id); |
| 283 | - } |
|
| 284 | - else if (!empty($field_data['field_value'])) |
|
| 283 | + } else if (!empty($field_data['field_value'])) |
|
| 285 | 284 | { |
| 286 | 285 | $this->form->add($field, 'hidden', $field_data, $topic_id); |
| 287 | 286 | } |
@@ -333,8 +332,7 @@ discard block |
||
| 333 | 332 | { |
| 334 | 333 | $sql_data['topic_visibility'] = $force_status; |
| 335 | 334 | } |
| 336 | - } |
|
| 337 | - else |
|
| 335 | + } else |
|
| 338 | 336 | { |
| 339 | 337 | if ($this->force_state()) |
| 340 | 338 | { |
@@ -222,8 +222,7 @@ |
||
| 222 | 222 | if ($topic_id) |
| 223 | 223 | { |
| 224 | 224 | $u_mcp = append_sid("{$this->phpbb_root_path}mcp.{$this->php_ext}", "i=mcp_main&mode=topic_view&f=$forum_id&t=$topic_id", true, $this->user->session_id); |
| 225 | - } |
|
| 226 | - else |
|
| 225 | + } else |
|
| 227 | 226 | { |
| 228 | 227 | $u_mcp = append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'i=-blitze-content-mcp-content_module&mode=content', true, $this->user->session_id); |
| 229 | 228 | } |