Skip to content

Commit

Permalink
Fix for strange error , 2nd try ;)
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/stable_plus@3485 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 27, 2007
1 parent e3312d5 commit 4688d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/core/surveytranslator.php
Expand Up @@ -183,7 +183,7 @@ function getLanguageData() {
$supportedLanguages['es']['nativedescription'] = 'Español';

// Spanish (Mexico)
$supportedLanguages['es-MX']['description'] = $clang->gT('Spanish');
$supportedLanguages['es-MX']['description'] = $clang->gT('Spanish (Mexico)');
$supportedLanguages['es-MX']['nativedescription'] = 'Español Mejicano';

// Swedish
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -75,7 +75,7 @@
if (isset($_SESSION['s_lang']))
{
$clang = SetSurveyLanguage( $surveyid, $_SESSION['s_lang']);
} elseif (isset($surveyid)) {
} else {
$baselang = GetBaseLanguageFromSurveyID($surveyid);
$clang = SetSurveyLanguage( $surveyid, $baselang);
}
Expand Down

0 comments on commit 4688d5f

Please sign in to comment.