CVS: spip/ecrire inc_lang.php3,1.88,1.89

Update of /home/spip-cvs/spip/ecrire
In directory miel:/tmp/cvs-serv31211/ecrire

Modified Files:
  inc_lang.php3
Log Message:
bug (klaus)

Index: inc_lang.php3

RCS file: /home/spip-cvs/spip/ecrire/inc_lang.php3,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- inc_lang.php3 28 Dec 2003 18:59:53 -0000 1.88
+++ inc_lang.php3 2 Jan 2004 17:36:00 -0000 1.89
@@ -133,6 +133,7 @@
//
function traduire_chaine($code, $args) {
   global $spip_lang, $flag_ecrire;
+ global $cache_lang;

   // liste des modules a parcourir
   $modules = array('spip');
@@ -148,7 +149,6 @@
     $var = "i18n_".$module."_".$spip_lang;
     if (!$GLOBALS[$var]) charger_langue($spip_lang, $module);
     if (!$flag_ecrire) {
- global $cache_lang;
       if (!isset($GLOBALS[$var][$code]))
         charger_langue($spip_lang, $module, $code);
       if (isset($GLOBALS[$var][$code]))