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

duozersk’s picture

This fix worked for me.

edo888’s picture

Status: Active » Reviewed & tested by the community

Thanks!!! Fixed in the repository, will be included in the 6.x.-1.3

edo888’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.