Passed
Push — develop ( 49e842...20d485 )
by Daniel
03:55
created
event/mcp_post.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
 		if (
69 69
 			($type = $this->content_types->get_forum_type($event['post_info']['forum_id'])) !== false
70 70
 			&& $event['post_info']['post_id'] === $event['post_info']['topic_first_post_id']
71
-		)
72
-		{
71
+		) {
73 72
 			$entity = $this->content_types->get_type($type);
74 73
 
75 74
 			$this->fields->prepare_to_show($entity, array($event['post_info']['topic_id']), $entity->get_summary_fields(), $entity->get_summary_tpl(), 'summary');
Please login to merge, or discard this patch.
services/form/builder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 			$this->fields->prepare_to_show($entity, array($post_data['topic_id']), $entity->$fields_accessor(), $entity->$template_accessor(), $view);
209 209
 			$content = $this->fields->build_content(array_change_key_case($post_data, CASE_UPPER));
210 210
 
211
-			$text =  isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']);
211
+			$text = isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']);
212 212
 		}
213 213
 		return $text;
214 214
 	}
@@ -403,8 +403,8 @@  discard block
 block discarded – undo
403 403
 		}
404 404
 		else
405 405
 		{
406
-			$options[ITEM_UNAPPROVED]	= 'CONTENT_STATUS_DISAPPROVE';
407
-			$options[ITEM_APPROVED]		= 'CONTENT_STATUS_APPROVE';
406
+			$options[ITEM_UNAPPROVED] = 'CONTENT_STATUS_DISAPPROVE';
407
+			$options[ITEM_APPROVED] = 'CONTENT_STATUS_APPROVE';
408 408
 		}
409 409
 
410 410
 		return $options;
Please login to merge, or discard this patch.
services/views/driver/base_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
 
140 140
 		foreach ($posts_data as $topic_id => $posts)
141 141
 		{
142
-			$post_data	= array_shift($posts);
142
+			$post_data = array_shift($posts);
143 143
 			$topic_data	= $topics_data[$topic_id];
144 144
 			$topic_data = $this->fields->show($content_type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info, $topic_data_overwrite, $cp_mode);
145 145
 
Please login to merge, or discard this patch.