Closed (works as designed)
Project:
Drupal core
Version:
6.14
Component:
language system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2009 at 06:52 UTC
Updated:
15 Jun 2011 at 14:12 UTC
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
Comment #1
ainigma32 commentedWithout 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
Comment #2
ainigma32 commentedLooks 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
Comment #3
alimosavi commentedHi
tanks
this code work .
I think this error was happened for my browse cash .
Comment #5
alimosavi commentedIs this code work on drupal 6.14
Is any change happened in this version ?
Comment #6
alimosavi commentedany idea ?
Comment #7
gábor hojtsyNo, it should still be a local glitch.