Passed
Pull Request — master (#325)
by
unknown
15:05
created
core/acp/gallery_logs_module.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@
 block discarded – undo
28 28
 		$this->tpl_name = 'gallery_logs';
29 29
 		add_form_key('acp_logs');
30 30
 
31
-		$page				= $request->variable('page', 0);
32
-		$filter_log		= $request->variable('lf', 'all');
33
-		$sort_days		= $request->variable('st', 0);
31
+		$page = $request->variable('page', 0);
32
+		$filter_log = $request->variable('lf', 'all');
33
+		$sort_days = $request->variable('st', 0);
34 34
 		$sort_key		= $request->variable('sk', 't');
35 35
 		$sort_dir		= $request->variable('sd', 'd');
36
-		$deletemark		= $request->is_set_post('delmarked');
37
-		$marked			= $request->variable('mark', []);
36
+		$deletemark = $request->is_set_post('delmarked');
37
+		$marked = $request->variable('mark', []);
38 38
 
39 39
 		$log = $phpbb_container->get('phpbbgallery.core.log');
40 40
 
Please login to merge, or discard this patch.
core/log.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 		{
134 134
 			$limit = $this->gallery_config->get('items_per_page');
135 135
 			// If its called from ACP album is 0 if MCP then is not
136
-			if($album == 0) $page = (int) ($page / $limit) + 1;
136
+			if ($album == 0) $page = (int) ($page / $limit) + 1;
137 137
 		}
138 138
 		$this->language->add_lang(['info_acp_gallery_logs'], 'phpbbgallery/core');
139 139
 
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 				),
284 284
 				'params' => array(
285 285
 				),
286
-			), 'pagination', 'page', $count, $limit, ($page-1) * $limit);
286
+			), 'pagination', 'page', $count, $limit, ($page - 1) * $limit);
287 287
 		}
288 288
 		else if ($album == -1)
289 289
 		{
@@ -304,9 +304,9 @@  discard block
 block discarded – undo
304 304
 			{
305 305
 				$url_array['sd'] = $additional['sort_dir'];
306 306
 			}
307
-			$url = http_build_query($url_array,'','&');
307
+			$url = http_build_query($url_array, '', '&');
308 308
 
309
-			$this->pagination->generate_template_pagination(append_sid('index.php?' . $url), 'pagination', 'page', $count, $limit, ($page-1) * $limit);
309
+			$this->pagination->generate_template_pagination(append_sid('index.php?' . $url), 'pagination', 'page', $count, $limit, ($page - 1) * $limit);
310 310
 		}
311 311
 		else
312 312
 		{
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 				'params' => array(
319 319
 					'album_id'	=> $album,
320 320
 				),
321
-			), 'pagination', 'page', $count, $limit, ($page-1) * $limit);
321
+			), 'pagination', 'page', $count, $limit, ($page - 1) * $limit);
322 322
 		}
323 323
 	}
324 324
 }
Please login to merge, or discard this patch.