Closed (fixed)
Project:
Translate Drupal with GTranslate
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2010 at 12:42 UTC
Updated:
9 Feb 2010 at 12:40 UTC
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