Passed
Pull Request — master (#325)
by
unknown
12:13 queued 09:32
created
core/acp/gallery_logs_module.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
 			if (confirm_box(true))
68 68
 			{
69 69
 				$log->delete_logs($marked);
70
-			}
71
-			else
70
+			} else
72 71
 			{
73 72
 				confirm_box(false, $this->language->lang('CONFIRM_OPERATION'), build_hidden_fields([
74 73
 					'page'		=> $page,
Please login to merge, or discard this patch.
core/log.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -209,8 +209,7 @@  discard block
 block discarded – undo
209 209
 					$sql_array['GROUP_BY'] = 'l.description, l.log_id, i.image_id, i.image_album_id';
210 210
 				break;
211 211
 			}
212
-		}
213
-		else
212
+		} else
214 213
 		{
215 214
 			$sql_array['ORDER_BY'] = 'l.log_time ' . (isset($additional['sort_dir']) ? 'ASC' : 'DESC');
216 215
 			$sql_array['GROUP_BY'] = 'l.log_time, l.log_id, i.image_id, i.image_album_id';
@@ -299,8 +298,7 @@  discard block
 block discarded – undo
299 298
 				'params' => array(
300 299
 				),
301 300
 			), 'pagination', 'page', $count, $limit, ($page-1) * $limit);
302
-		}
303
-		else if ($album == -1)
301
+		} else if ($album == -1)
304 302
 		{
305 303
 			$url_array = array(
306 304
 				'i' => '-phpbbgallery-core-acp-gallery_logs_module',
@@ -322,8 +320,7 @@  discard block
 block discarded – undo
322 320
 			$url = http_build_query($url_array,'','&');
323 321
 
324 322
 			$this->pagination->generate_template_pagination(append_sid('index.php?' . $url), 'pagination', 'page', $count, $limit, ($page-1) * $limit);
325
-		}
326
-		else
323
+		} else
327 324
 		{
328 325
 			$this->pagination->generate_template_pagination(array(
329 326
 				'routes' => array(
Please login to merge, or discard this patch.