Passed
Push — release-3.0.0 ( 5e25ca...6e018a )
by Daniel
04:45
created
services/comments/comments.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
 	{
88 88
 		if ($topic_data['total_comments'])
89 89
 		{
90
-			$view		= $this->request->variable('view', '');
91
-			$start		= $this->request->variable('start', 0);
92
-			$post_id	= $this->request->variable('p', 0);
90
+			$view = $this->request->variable('view', '');
91
+			$start = $this->request->variable('start', 0);
92
+			$post_id = $this->request->variable('p', 0);
93 93
 
94 94
 			$this->find_unread($view, $topic_data);
95 95
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 	 */
219 219
 	protected function add_comment_anchor_to_pages()
220 220
 	{
221
-		$data =& $this->template_context->get_data_ref()['pagination'];
221
+		$data = & $this->template_context->get_data_ref()['pagination'];
222 222
 		$data = (array) $data;
223 223
 
224 224
 		foreach ($data as &$row)
@@ -329,11 +329,11 @@  discard block
 block discarded – undo
329 329
 	 */
330 330
 	protected function set_sorting_options(&$sort_days, &$sort_key, &$sort_dir, &$u_sort_param)
331 331
 	{
332
-		$default_sort_days	= (!empty($this->user->data['user_post_show_days'])) ? $this->user->data['user_post_show_days'] : 0;
332
+		$default_sort_days = (!empty($this->user->data['user_post_show_days'])) ? $this->user->data['user_post_show_days'] : 0;
333 333
 		$default_sort_key	= (!empty($this->user->data['user_post_sortby_type'])) ? $this->user->data['user_post_sortby_type'] : 't';
334 334
 		$default_sort_dir	= (!empty($this->user->data['user_post_sortby_dir'])) ? $this->user->data['user_post_sortby_dir'] : 'a';
335 335
 
336
-		$sort_days	= $this->request->variable('st', $default_sort_days);
336
+		$sort_days = $this->request->variable('st', $default_sort_days);
337 337
 		$sort_key	= $this->request->variable('sk', $default_sort_key);
338 338
 		$sort_dir	= $this->request->variable('sd', $default_sort_dir);
339 339
 
Please login to merge, or discard this patch.