Even after turning off the i18n query rewriting it's still getting up in my queries. I'm just going to say screw it and disable their query re-writing by calling i18n_selection_mode('off');.

It's heavy handed but if they ignore the setting there's not much I can do, I've got a hook_requirements warning that the two don't play nice so users have some notice.

Comments

drewish’s picture

Status: Reviewed & tested by the community » Fixed

committed to HEAD.

Bo Kleve’s picture

Status: Fixed » Needs work

Hi!

I installed the updated version today and that stopped my testsite working with PHP Fatal error: Call to undefined function i18n_selection_mode() in /usr/share/drupal-6.2/sites/all/modules/active_translation/active_translation.module on line 299.

I didn't have i18n installed, so the i18n_selection_mode('off'); line needs to have a check if i18n is installed.

/BoK

drewish’s picture

Status: Needs work » Needs review
StatusFileSize
new952 bytes

ah, good call... totally a dumb error. mind testing out this fix?

drewish’s picture

Status: Needs review » Fixed

went ahead and committed this to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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