@@ -728,7 +728,7 @@ |
||
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), |
@@ -586,7 +586,7 @@ |
||
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 |