The offending line of code is '#default_value' => in_array($lang, $languages_flags) ? 2 : 1,, whereas '#default_value' => variable_get("gtranslate_$lang", in_array($lang, $languages_flags) ? 2 : 1), seems to work.
The offending line of code is '#default_value' => in_array($lang, $languages_flags) ? 2 : 1,, whereas '#default_value' => variable_get("gtranslate_$lang", in_array($lang, $languages_flags) ? 2 : 1), seems to work.
Comments
Comment #1
duozerskThis fix worked for me.
Comment #2
edo888 commentedThanks!!! Fixed in the repository, will be included in the 6.x.-1.3
Comment #3
edo888 commented