hi
I use this code with drupal 6.6 .
when I update my drupal to 6.9 it not work .
this code:

global $user;
global $language;
$langcode = isset($langcode) ? $langcode : $language->language;

switch ($langcode) {
 case 'fa':
    -------
 break;
 default:
    -------
 break;
  }

what is it case ?

Comments

ainigma32’s picture

Status: Active » Postponed (maintainer needs more info)

Without any further info I would say this should work. Can you post some more code and/or elaborate on what you're trying to do?

- Arie

ainigma32’s picture

Status: Postponed (maintainer needs more info) » Fixed

Looks like alimosavi won't be posting any feedback so I'm setting this to fixed.

Feel free to reopen if you think that is wrong.

- Arie

alimosavi’s picture

Hi
tanks
this code work .
I think this error was happened for my browse cash .

Status: Fixed » Closed (fixed)

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

alimosavi’s picture

Is this code work on drupal 6.14

Is any change happened in this version ?

alimosavi’s picture

Version: 6.9 » 6.14
Status: Closed (fixed) » Needs work

any idea ?

gábor hojtsy’s picture

Status: Needs work » Closed (works as designed)

No, it should still be a local glitch.