Passed
Pull Request — release-2.1 (#6016)
by John
06:55
created
Themes/default/Packages.template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 	// And a bit more for database changes.
373 373
 	if ($context['uninstalling'] && !empty($context['database_changes']))
374 374
 		echo '
375
-		makeToggle(document.getElementById(\'db_changes_div\'), ', JavaScriptEscape($txt['package_db_uninstall_details']) , ');';
375
+		makeToggle(document.getElementById(\'db_changes_div\'), ', JavaScriptEscape($txt['package_db_uninstall_details']), ');';
376 376
 
377 377
 	echo '
378 378
 	</script>';
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
 	echo '
566 566
 		</div><!-- #admin_form_wrapper -->';
567 567
 
568
-	if ($context['available_packages'] ==  0)
568
+	if ($context['available_packages'] == 0)
569 569
 		echo '
570 570
 		<div class="noticebox">', $txt['no_packages'], '</div>';
571 571
 	else
Please login to merge, or discard this patch.
Sources/Packages.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1155,7 +1155,7 @@  discard block
 block discarded – undo
1155 1155
 				// We're really just checking for entries which are create table AND add columns (etc).
1156 1156
 				$tables = array();
1157 1157
 
1158
-				usort($db_package_log, function ($a, $b)
1158
+				usort($db_package_log, function($a, $b)
1159 1159
 				{
1160 1160
 					if ($a[0] == $b[0])
1161 1161
 						return 0;
@@ -1437,7 +1437,7 @@  discard block
 block discarded – undo
1437 1437
 						'value' => $txt['mod_installed_time'],
1438 1438
 					),
1439 1439
 					'data' => array(
1440
-						'function' => function ($package) use ($txt)
1440
+						'function' => function($package) use ($txt)
1441 1441
 						{
1442 1442
 							return !empty($package['time_installed'])
1443 1443
 								? timeformat($package['time_installed'])
Please login to merge, or discard this patch.