Passed
Pull Request — development (#3540)
by Emanuele
07:11
created
sources/ElkArte/AdminController/ManageLanguages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -728,7 +728,7 @@
 block discarded – undo
728 728
 		$current_file = $file_id ? $base_lang_dir . '/' . $file_id . '/' . ucfirst($context['lang_id']) . '.php' : '';
729 729
 
730 730
 		// Now for every theme get all the files and stick them in context!
731
-		$context['possible_files'] =  array_map(function($file) use ($file_id, $txt) {
731
+		$context['possible_files'] = array_map(function ($file) use ($file_id, $txt) {
732 732
 			return [
733 733
 				'id' => basename($file, '.php'),
734 734
 				'name' => $txt['lang_file_desc_' . basename($file)] ?? basename($file),
Please login to merge, or discard this patch.
sources/subs/Themes.subs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -586,7 +586,7 @@
 block discarded – undo
586 586
 		$theme_thumbnail_href = $theme_data['images_url'] . '/thumbnail.png';
587 587
 
588 588
 		$txt['theme_description'] = '';
589
-		$lang = new LangLoader(null. $txt, $db);
589
+		$lang = new LangLoader(null . $txt, $db);
590 590
 		$lang->setchangePath($theme_data['theme_dir'] . '/Languages');
591 591
 		$lang->load('Settings', false);
592 592
 
Please login to merge, or discard this patch.