Browse Source

Fix for #373
Fix for #374

Signed-off-by: Antes <[email protected]>

Antes 11 years ago
parent
commit
e399173eea
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Sources/Who.php
  2. 1 1
      Themes/default/languages/index.english.php

+ 1 - 0
Sources/Who.php

@@ -527,6 +527,7 @@ function Credits($in_admin = false)
 	// Don't blink. Don't even blink. Blink and you're dead.
 	loadLanguage('Who');
 
+	if($in_admin)
 	$context[$context['admin_menu_name']]['tab_data'] = array(
 		'title' => $txt['support_credits_title'],
 		'help' => '',

+ 1 - 1
Themes/default/languages/index.english.php

@@ -8,7 +8,7 @@ global $forum_copyright, $forum_version, $webmaster_email, $scripturl, $context,
 //   - http://www.php.net/function.pspell-new
 //   - http://www.php.net/function.setlocale
 // Again, SPELLING SHOULD BE '' 99% OF THE TIME!!  Please read this!
-$txt['lang_locale'] = '';
+$txt['lang_locale'] = 'en_US';
 $txt['lang_dictionary'] = 'en';
 $txt['lang_spelling'] = 'american';